Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- TASK [tomcat_install : Create tomcat group] ************************************************************************************************************************************
- task path: /opt/ansible/roles/tomcat_install/tasks/main.yml:3
- <<IP ADDRESS>> ESTABLISH SSH CONNECTION FOR USER: ansible
- <<IP ADDRESS>> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o 'IdentityFile="/opt/ansible/keys/ansible.pem"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="ansible"' -o ConnectTimeout=10 -o 'ProxyCommand=aws ec2-instance-connect ssh --region us-east-1 --instance-id i-xxxxxxxxxxxxxxxxx --os-user ansible --private-key-file /opt/ansible/keys/ansible.pem' -o 'ControlPath="/home/ec2-user/.ansible/cp/1fcb06c46d"' <IP ADDRESS> '/bin/sh -c '"'"'echo ~ansible && sleep 0'"'"''
- <<IP ADDRESS>> (255, b'', b'OpenSSH_8.7p1, OpenSSL 3.0.8 7 Feb 2023\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug3: /etc/ssh/ssh_config line 55: Including file /etc/ssh/ssh_config.d/50-redhat.conf depth 0\r\ndebug1: Reading configuration data /etc/ssh/ssh_config.d/50-redhat.conf\r\ndebug2: checking match for \'final all\' host <IP ADDRESS> originally <IP ADDRESS>\r\ndebug3: /etc/ssh/ssh_config.d/50-redhat.conf line 3: not matched \'final\'\r\ndebug2: match not found\r\ndebug3: /etc/ssh/ssh_config.d/50-redhat.conf line 5: Including file /etc/crypto-policies/back-ends/openssh.config depth 1 (parse only)\r\ndebug1: Reading configuration data /etc/crypto-policies/back-ends/openssh.config\r\ndebug3: gss kex names ok: [gss-curve25519-sha256-,gss-nistp256-sha256-,gss-group14-sha256-,gss-group16-sha512-]\r\ndebug3: kex names ok: [curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512]\r\ndebug1: configuration requests final Match pass\r\ndebug2: resolve_canonicalize: hostname <IP ADDRESS> is address\r\ndebug1: re-parsing configuration\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug3: /etc/ssh/ssh_config line 55: Including file /etc/ssh/ssh_config.d/50-redhat.conf depth 0\r\ndebug1: Reading configuration data /etc/ssh/ssh_config.d/50-redhat.conf\r\ndebug2: checking match for \'final all\' host <IP ADDRESS> originally <IP ADDRESS>\r\ndebug3: /etc/ssh/ssh_config.d/50-redhat.conf line 3: matched \'final\'\r\ndebug2: match found\r\ndebug3: /etc/ssh/ssh_config.d/50-redhat.conf line 5: Including file /etc/crypto-policies/back-ends/openssh.config depth 1\r\ndebug1: Reading configuration data /etc/crypto-policies/back-ends/openssh.config\r\ndebug3: gss kex names ok: [gss-curve25519-sha256-,gss-nistp256-sha256-,gss-group14-sha256-,gss-group16-sha512-]\r\ndebug3: kex names ok: [curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512]\r\ndebug3: expanded UserKnownHostsFile \'~/.ssh/known_hosts\' -> \'/home/ec2-user/.ssh/known_hosts\'\r\ndebug3: expanded UserKnownHostsFile \'~/.ssh/known_hosts2\' -> \'/home/ec2-user/.ssh/known_hosts2\'\r\ndebug1: auto-mux: Trying existing master\r\ndebug1: Control socket "/home/ec2-user/.ansible/cp/1fcb06c46d" does not exist\r\ndebug1: Executing proxy command: exec aws ec2-instance-connect ssh --region us-east-1 --instance-id i-xxxxxxxxxxxxxxxxx --os-user ansible --private-key-file /opt/ansible/keys/ansible.pem\r\ndebug3: timeout: 10000 ms remain after connect\r\ndebug1: identity file /opt/ansible/keys/ansible.pem type -1\r\ndebug1: identity file /opt/ansible/keys/ansible.pem-cert type -1\r\ndebug1: Local version string SSH-2.0-OpenSSH_8.7\r\nPseudo-terminal will not be allocated because stdin is not a terminal.\r\nAuthorized uses only. All activity may be monitored and reported.\ndebug1: kex_exchange_identification: banner line 0: Authorized uses only. All activity may be monitored and reported.\r\ndebug1: kex_exchange_identification: banner line 1: , #_\r\ndebug1: kex_exchange_identification: banner line 2: ~\\\\_ ####_ Amazon Linux 2023\r\ndebug1: kex_exchange_identification: banner line 3: ~~ \\\\_#####\\\\\r\ndebug1: kex_exchange_identification: banner line 4: ~~ \\\\###|\r\ndebug1: kex_exchange_identification: banner line 5: ~~ \\\\#/ ___ https://aws.amazon.com/linux/amazon-linux-2023\r\ndebug1: kex_exchange_identification: banner line 6: ~~ V~\' \'->\r\ndebug1: kex_exchange_identification: banner line 7: ~~~ /\r\ndebug1: kex_exchange_identification: banner line 8: ~~._. _/\r\ndebug1: kex_exchange_identification: banner line 9: _/ _/\r\ndebug1: kex_exchange_identification: banner line 10: _/m/\'\r\n-bash: line 1: $\'SSH-2.0-OpenSSH_8.7\\r\': command not found\nConnection timed out during banner exchange\r\nConnection to UNKNOWN port 65535 timed out\r\n')
- fatal: [asd01-awc-nwm]: UNREACHABLE! => changed=false
- msg: |-
- Failed to connect to the host via ssh: OpenSSH_8.7p1, OpenSSL 3.0.8 7 Feb 2023
- debug1: Reading configuration data /etc/ssh/ssh_config
- debug3: /etc/ssh/ssh_config line 55: Including file /etc/ssh/ssh_config.d/50-redhat.conf depth 0
- debug1: Reading configuration data /etc/ssh/ssh_config.d/50-redhat.conf
- debug2: checking match for 'final all' host <IP ADDRESS> originally <IP ADDRESS>
- debug3: /etc/ssh/ssh_config.d/50-redhat.conf line 3: not matched 'final'
- debug2: match not found
- debug3: /etc/ssh/ssh_config.d/50-redhat.conf line 5: Including file /etc/crypto-policies/back-ends/openssh.config depth 1 (parse only)
- debug1: Reading configuration data /etc/crypto-policies/back-ends/openssh.config
- debug3: gss kex names ok: [gss-curve25519-sha256-,gss-nistp256-sha256-,gss-group14-sha256-,gss-group16-sha512-]
- debug3: kex names ok: [curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512]
- debug1: configuration requests final Match pass
- debug2: resolve_canonicalize: hostname <IP ADDRESS> is address
- debug1: re-parsing configuration
- debug1: Reading configuration data /etc/ssh/ssh_config
- debug3: /etc/ssh/ssh_config line 55: Including file /etc/ssh/ssh_config.d/50-redhat.conf depth 0
- debug1: Reading configuration data /etc/ssh/ssh_config.d/50-redhat.conf
- debug2: checking match for 'final all' host <IP ADDRESS> originally <IP ADDRESS>
- debug3: /etc/ssh/ssh_config.d/50-redhat.conf line 3: matched 'final'
- debug2: match found
- debug3: /etc/ssh/ssh_config.d/50-redhat.conf line 5: Including file /etc/crypto-policies/back-ends/openssh.config depth 1
- debug1: Reading configuration data /etc/crypto-policies/back-ends/openssh.config
- debug3: gss kex names ok: [gss-curve25519-sha256-,gss-nistp256-sha256-,gss-group14-sha256-,gss-group16-sha512-]
- debug3: kex names ok: [curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512]
- debug3: expanded UserKnownHostsFile '~/.ssh/known_hosts' -> '/home/ec2-user/.ssh/known_hosts'
- debug3: expanded UserKnownHostsFile '~/.ssh/known_hosts2' -> '/home/ec2-user/.ssh/known_hosts2'
- debug1: auto-mux: Trying existing master
- debug1: Control socket "/home/ec2-user/.ansible/cp/1fcb06c46d" does not exist
- debug1: Executing proxy command: exec aws ec2-instance-connect ssh --region us-east-1 --instance-id i-xxxxxxxxxxxxxxxxx --os-user ansible --private-key-file /opt/ansible/keys/ansible.pem
- debug3: timeout: 10000 ms remain after connect
- debug1: identity file /opt/ansible/keys/ansible.pem type -1
- debug1: identity file /opt/ansible/keys/ansible.pem-cert type -1
- debug1: Local version string SSH-2.0-OpenSSH_8.7
- Pseudo-terminal will not be allocated because stdin is not a terminal.
- Authorized uses only. All activity may be monitored and reported.
- debug1: kex_exchange_identification: banner line 0: Authorized uses only. All activity may be monitored and reported.
- debug1: kex_exchange_identification: banner line 1: , #_
- debug1: kex_exchange_identification: banner line 2: ~\\_ ####_ Amazon Linux 2023
- debug1: kex_exchange_identification: banner line 3: ~~ \\_#####\\
- debug1: kex_exchange_identification: banner line 4: ~~ \\###|
- debug1: kex_exchange_identification: banner line 5: ~~ \\#/ ___ https://aws.amazon.com/linux/amazon-linux-2023
- debug1: kex_exchange_identification: banner line 6: ~~ V~' '->
- debug1: kex_exchange_identification: banner line 7: ~~~ /
- debug1: kex_exchange_identification: banner line 8: ~~._. _/
- debug1: kex_exchange_identification: banner line 9: _/ _/
- debug1: kex_exchange_identification: banner line 10: _/m/'
- -bash: line 1: $'SSH-2.0-OpenSSH_8.7\r': command not found
- Connection timed out during banner exchange
- Connection to UNKNOWN port 65535 timed out
- unreachable: true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement