Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

synchronize refers exclusively to deprecated 'ansible_ssh_user' #60

Closed
Akasurde opened this issue Jun 24, 2020 · 5 comments · Fixed by #159
Closed

synchronize refers exclusively to deprecated 'ansible_ssh_user' #60

Akasurde opened this issue Jun 24, 2020 · 5 comments · Fixed by #159
Labels
bug This issue/PR relates to a bug. has_pr verified This issue has been verified/reproduced by maintainer

Comments

@Akasurde
Copy link
Member

From @djgraff209 on Jun 23, 2020 22:12

SUMMARY

The Ansible 'synchronize' refers to the deprecated 'ansible_ssh_user' variable exclusively without taking into account the 'ansible_user' (2.9+) variable.

ISSUE TYPE
  • Bug Report
COMPONENT NAME

synchronize

ANSIBLE VERSION
2.9.10
CONFIGURATION

OS / ENVIRONMENT

Controller: MacOS Catalina 10.15.5 / Python3 3.8.2
Target Node Set:
8 nodes running Redhat 7.7
1 node running CentOS 7.7

STEPS TO REPRODUCE

Assume following:

  • Local ansible.cfg includes section [ssh_connection] with ssh_args = -o ForwardAgent=yes
  • control node is SSH Key Authorized to both redhat@host1 and centos@host2
  • file /some/directory/somefile.tar.gz exists on host1

Provide a playbook to synchronize between a RedHat and CentOS

---
# Inventory File
all:
  hosts:
    host1:
      ansible_host: host1.company.com
      ansible_user: redhat
    host2:
      ansible_host: host2.company.com
      ansible_user: centos
---
# mysync-playbook.yaml
- hosts: host2
   tasks:
     - name: Synchronize to host2
        synchronize:
          src: /some/directory/somefile.tar.gz
          dest: /tmp/somefile.tar.gz
          use_ssh_args: True  # This is to ensure that Ansible Config ssh_connection with ForwardAgent=yes is respected
        delegate_to: host1
EXPECTED RESULTS

Expect that synchronize plugin will copy redhat@host1:/some/directory/somefile.tar.gz to centos@host2:/tmp/somefile.tar.gz using rsync command delegated to host1.

ACTUAL RESULTS

Task fails to copy indicating too many authentication attempts.

TASK [Synchronize to Controller] *********************************************************************************************************************************************************************
<host1.company.com> ESTABLISH SSH CONNECTION FOR USER: redhat
<host1.company.com> SSH: EXEC ssh -vvv -o ForwardAgent=yes -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="redhat"' -o ConnectTimeout=10 host1.company.com '/bin/sh -c '"'"'echo ~redhat && sleep 0'"'"''
<host1.company.com> (0, b'/home/redhat\n', b'OpenSSH_8.1p1, LibreSSL 2.7.3\r\ndebug1: Reading configuration data /Users/ansibleuser/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 47: Applying options for *\r\ndebug2: resolving "host1.company.com" port 22\r\ndebug2: ssh_connect_direct\r\ndebug1: Connecting to host1.company.com [34.220.1.72] port 22.\r\ndebug2: fd 5 setting O_NONBLOCK\r\ndebug1: fd 5 clearing O_NONBLOCK\r\ndebug1: Connection established.\r\ndebug3: timeout: 9831 ms remain after connect\r\ndebug1: identity file /Users/ansibleuser/.ssh/id_rsa type 0\r\ndebug1: identity file /Users/ansibleuser/.ssh/id_rsa-cert type -1\r\ndebug1: identity file /Users/ansibleuser/.ssh/id_dsa type -1\r\ndebug1: identity file /Users/ansibleuser/.ssh/id_dsa-cert type -1\r\ndebug1: identity file /Users/ansibleuser/.ssh/id_ecdsa type -1\r\ndebug1: identity file /Users/ansibleuser/.ssh/id_ecdsa-cert type -1\r\ndebug1: identity file /Users/ansibleuser/.ssh/id_ed25519 type -1\r\ndebug1: identity file /Users/ansibleuser/.ssh/id_ed25519-cert type -1\r\ndebug1: identity file /Users/ansibleuser/.ssh/id_xmss type -1\r\ndebug1: identity file /Users/ansibleuser/.ssh/id_xmss-cert type -1\r\ndebug1: Local version string SSH-2.0-OpenSSH_8.1\r\ndebug1: Remote protocol version 2.0, remote software version OpenSSH_7.4\r\ndebug1: match: OpenSSH_7.4 pat OpenSSH_7.0*,OpenSSH_7.1*,OpenSSH_7.2*,OpenSSH_7.3*,OpenSSH_7.4*,OpenSSH_7.5*,OpenSSH_7.6*,OpenSSH_7.7* compat 0x04000002\r\ndebug2: fd 5 setting O_NONBLOCK\r\ndebug1: Authenticating to host1.company.com:22 as \'redhat\'\r\ndebug3: hostkeys_foreach: reading file "/Users/ansibleuser/.ssh/known_hosts"\r\ndebug3: record_hostkey: found key type ECDSA in file /Users/ansibleuser/.ssh/known_hosts:227\r\ndebug3: load_hostkeys: loaded 1 keys from host1.company.com\r\ndebug3: order_hostkeyalgs: prefer hostkeyalgs: [email protected],[email protected],[email protected],ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521\r\ndebug3: send packet: type 20\r\ndebug1: SSH2_MSG_KEXINIT sent\r\ndebug3: receive packet: type 20\r\ndebug1: SSH2_MSG_KEXINIT received\r\ndebug2: local client KEXINIT proposal\r\ndebug2: KEX algorithms: curve25519-sha256,[email protected],ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group14-sha256,diffie-hellman-group14-sha1,ext-info-c\r\ndebug2: host key algorithms: [email protected],[email protected],[email protected],ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,[email protected],[email protected],[email protected],[email protected],ssh-ed25519,rsa-sha2-512,rsa-sha2-256,ssh-rsa\r\ndebug2: ciphers ctos: [email protected],aes128-ctr,aes192-ctr,aes256-ctr,[email protected],[email protected]\r\ndebug2: ciphers stoc: [email protected],aes128-ctr,aes192-ctr,aes256-ctr,[email protected],[email protected]\r\ndebug2: MACs ctos: [email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],hmac-sha2-256,hmac-sha2-512,hmac-sha1\r\ndebug2: MACs stoc: [email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],hmac-sha2-256,hmac-sha2-512,hmac-sha1\r\ndebug2: compression ctos: none,[email protected],zlib\r\ndebug2: compression stoc: none,[email protected],zlib\r\ndebug2: languages ctos: \r\ndebug2: languages stoc: \r\ndebug2: first_kex_follows 0 \r\ndebug2: reserved 0 \r\ndebug2: peer server KEXINIT proposal\r\ndebug2: KEX algorithms: curve25519-sha256,[email protected],ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha256,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1\r\ndebug2: host key algorithms: ssh-rsa,rsa-sha2-512,rsa-sha2-256,ecdsa-sha2-nistp256,ssh-ed25519\r\ndebug2: ciphers ctos: [email protected],aes128-ctr,aes192-ctr,aes256-ctr,[email protected],[email protected],aes128-cbc,aes192-cbc,aes256-cbc,blowfish-cbc,cast128-cbc,3des-cbc\r\ndebug2: ciphers stoc: [email protected],aes128-ctr,aes192-ctr,aes256-ctr,[email protected],[email protected],aes128-cbc,aes192-cbc,aes256-cbc,blowfish-cbc,cast128-cbc,3des-cbc\r\ndebug2: MACs ctos: [email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],hmac-sha2-256,hmac-sha2-512,hmac-sha1\r\ndebug2: MACs stoc: [email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],hmac-sha2-256,hmac-sha2-512,hmac-sha1\r\ndebug2: compression ctos: none,[email protected]\r\ndebug2: compression stoc: none,[email protected]\r\ndebug2: languages ctos: \r\ndebug2: languages stoc: \r\ndebug2: first_kex_follows 0 \r\ndebug2: reserved 0 \r\ndebug1: kex: algorithm: curve25519-sha256\r\ndebug1: kex: host key algorithm: ecdsa-sha2-nistp256\r\ndebug1: kex: server->client cipher: [email protected] MAC: <implicit> compression: none\r\ndebug1: kex: client->server cipher: [email protected] MAC: <implicit> compression: none\r\ndebug3: send packet: type 30\r\ndebug1: expecting SSH2_MSG_KEX_ECDH_REPLY\r\ndebug3: receive packet: type 31\r\ndebug1: Server host key: ecdsa-sha2-nistp256 SHA256:AAdSciJWX3ObYybJDi5x4dqMbFLhZPxOx+JF6qyBe+4\r\ndebug3: hostkeys_foreach: reading file "/Users/ansibleuser/.ssh/known_hosts"\r\ndebug3: record_hostkey: found key type ECDSA in file /Users/ansibleuser/.ssh/known_hosts:227\r\ndebug3: load_hostkeys: loaded 1 keys from host1.company.com\r\ndebug3: hostkeys_foreach: reading file "/Users/ansibleuser/.ssh/known_hosts"\r\ndebug3: record_hostkey: found key type ECDSA in file /Users/ansibleuser/.ssh/known_hosts:307\r\ndebug3: load_hostkeys: loaded 1 keys from 34.220.1.72\r\ndebug1: Host \'host1.company.com\' is known and matches the ECDSA host key.\r\ndebug1: Found key in /Users/ansibleuser/.ssh/known_hosts:227\r\ndebug3: send packet: type 21\r\ndebug2: set_newkeys: mode 1\r\ndebug1: rekey out after 134217728 blocks\r\ndebug1: SSH2_MSG_NEWKEYS sent\r\ndebug1: expecting SSH2_MSG_NEWKEYS\r\ndebug3: receive packet: type 21\r\ndebug1: SSH2_MSG_NEWKEYS received\r\ndebug2: set_newkeys: mode 0\r\ndebug1: rekey in after 134217728 blocks\r\ndebug1: Will attempt key: /Users/ansibleuser/.ssh/id_rsa RSA SHA256:zfIcNwb57FqZP9pugwk0w2Nn67yIKAzU1xFWZGeer34 agent\r\ndebug1: Will attempt key: /Users/ansibleuser/.ssh/4_4_Enablement.pem RSA SHA256:wECN4DL/gwI+XWehJFnQpdKruBBP18Ou0BwcelSqXms agent\r\ndebug1: Will attempt key: /Users/ansibleuser/.ssh/BiQ-Pem-SE.pem RSA SHA256:BdVFQGgBorUc8VZ3VETep7mfVhU1vZLrSc2V9upzCZY agent\r\ndebug1: Will attempt key: /Users/ansibleuser/.ssh/GenericVM.pem RSA SHA256:Jdng3tVXTutYOk7xTfpaDTwkjQ2cTo+B1Umz3FCr6gg agent\r\ndebug1: Will attempt key: /Users/ansibleuser/.ssh/BiQ_Pem_SE.pem RSA SHA256:gT+8jyC5fZUlDsFRnOOzx5wihXD8VFBofyYeWLxcvOg agent\r\ndebug1: Will attempt key: /Users/ansibleuser/.ssh/Java_Lab.pem RSA SHA256:0bivZabBfiN/2f2BqfiZfCu9DOL8YKyy//IJ+hs/nls agent\r\ndebug1: Will attempt key: /Users/ansibleuser/.ssh/devops_level1_lab.pem RSA SHA256:taeGJ4amTq1T9hSq2/CNvvMl7/gqV2AoNaSZI79zohg agent\r\ndebug1: Will attempt key: /Users/ansibleuser/.ssh/id_dsa \r\ndebug1: Will attempt key: /Users/ansibleuser/.ssh/id_ecdsa \r\ndebug1: Will attempt key: /Users/ansibleuser/.ssh/id_ed25519 \r\ndebug1: Will attempt key: /Users/ansibleuser/.ssh/id_xmss \r\ndebug2: pubkey_prepare: done\r\ndebug3: send packet: type 5\r\ndebug3: receive packet: type 7\r\ndebug1: SSH2_MSG_EXT_INFO received\r\ndebug1: kex_input_ext_info: server-sig-algs=<rsa-sha2-256,rsa-sha2-512>\r\ndebug3: receive packet: type 6\r\ndebug2: service_accept: ssh-userauth\r\ndebug1: SSH2_MSG_SERVICE_ACCEPT received\r\ndebug3: send packet: type 50\r\ndebug3: receive packet: type 51\r\ndebug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic\r\ndebug3: start over, passed a different list publickey,gssapi-keyex,gssapi-with-mic\r\ndebug3: preferred gssapi-with-mic,gssapi-keyex,hostbased,publickey\r\ndebug3: authmethod_lookup gssapi-with-mic\r\ndebug3: remaining preferred: gssapi-keyex,hostbased,publickey\r\ndebug3: authmethod_lookup gssapi-keyex\r\ndebug3: remaining preferred: hostbased,publickey\r\ndebug2: Unrecognized authentication method name: gssapi-keyex\r\ndebug3: authmethod_lookup publickey\r\ndebug3: remaining preferred: ,publickey\r\ndebug3: authmethod_is_enabled publickey\r\ndebug1: Next authentication method: publickey\r\ndebug1: Offering public key: /Users/ansibleuser/.ssh/id_rsa RSA SHA256:zfIcNwb57FqZP9pugwk0w2Nn67yIKAzU1xFWZGeer34 agent\r\ndebug3: send packet: type 50\r\ndebug2: we sent a publickey packet, wait for reply\r\ndebug3: receive packet: type 51\r\ndebug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic\r\ndebug1: Offering public key: /Users/ansibleuser/.ssh/4_4_Enablement.pem RSA SHA256:wECN4DL/gwI+XWehJFnQpdKruBBP18Ou0BwcelSqXms agent\r\ndebug3: send packet: type 50\r\ndebug2: we sent a publickey packet, wait for reply\r\ndebug3: receive packet: type 51\r\ndebug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic\r\ndebug1: Offering public key: /Users/ansibleuser/.ssh/BiQ-Pem-SE.pem RSA SHA256:BdVFQGgBorUc8VZ3VETep7mfVhU1vZLrSc2V9upzCZY agent\r\ndebug3: send packet: type 50\r\ndebug2: we sent a publickey packet, wait for reply\r\ndebug3: receive packet: type 51\r\ndebug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic\r\ndebug1: Offering public key: /Users/ansibleuser/.ssh/GenericVM.pem RSA SHA256:Jdng3tVXTutYOk7xTfpaDTwkjQ2cTo+B1Umz3FCr6gg agent\r\ndebug3: send packet: type 50\r\ndebug2: we sent a publickey packet, wait for reply\r\ndebug3: receive packet: type 60\r\ndebug1: Server accepts key: /Users/ansibleuser/.ssh/GenericVM.pem RSA SHA256:Jdng3tVXTutYOk7xTfpaDTwkjQ2cTo+B1Umz3FCr6gg agent\r\ndebug3: sign_and_send_pubkey: RSA SHA256:Jdng3tVXTutYOk7xTfpaDTwkjQ2cTo+B1Umz3FCr6gg\r\ndebug3: sign_and_send_pubkey: signing using rsa-sha2-512\r\ndebug3: send packet: type 50\r\ndebug3: receive packet: type 52\r\ndebug1: Authentication succeeded (publickey).\r\nAuthenticated to host1.company.com ([34.220.1.72]:22).\r\ndebug2: fd 7 setting O_NONBLOCK\r\ndebug2: fd 8 setting O_NONBLOCK\r\ndebug1: channel 0: new [client-session]\r\ndebug3: ssh_session2_open: channel_new: 0\r\ndebug2: channel 0: send open\r\ndebug3: send packet: type 90\r\ndebug1: Requesting [email protected]\r\ndebug3: send packet: type 80\r\ndebug1: Entering interactive session.\r\ndebug1: pledge: network\r\ndebug3: receive packet: type 80\r\ndebug1: client_input_global_request: rtype [email protected] want_reply 0\r\ndebug3: receive packet: type 91\r\ndebug2: channel_input_open_confirmation: channel 0: callback start\r\ndebug1: Requesting authentication agent forwarding.\r\ndebug2: channel 0: request [email protected] confirm 0\r\ndebug3: send packet: type 98\r\ndebug2: fd 5 setting TCP_NODELAY\r\ndebug3: ssh_packet_set_tos: set IP_TOS 0x20\r\ndebug2: client_session2_setup: id 0\r\ndebug1: Sending environment.\r\ndebug3: Ignored env SHELL\r\ndebug3: Ignored env COLORTERM\r\ndebug3: Ignored env XPC_FLAGS\r\ndebug3: Ignored env TERM_PROGRAM_VERSION\r\ndebug3: Ignored env SSH_AUTH_SOCK\r\ndebug3: Ignored env GRADLE_HOME\r\ndebug3: Ignored env SPRINGBOOT_HOME\r\ndebug3: Ignored env SDKMAN_CANDIDATES_DIR\r\ndebug3: Ignored env PWD\r\ndebug3: Ignored env LOGNAME\r\ndebug3: Ignored env VSCODE_GIT_ASKPASS_NODE\r\ndebug3: Ignored env ANSIBLE_VAULT_PASSWORD_FILE\r\ndebug3: Ignored env HOME\r\ndebug1: Sending env LANG = en_US.UTF-8\r\ndebug2: channel 0: request env confirm 0\r\ndebug3: send packet: type 98\r\ndebug3: Ignored env SDKMAN_VERSION\r\ndebug3: Ignored env TMPDIR\r\ndebug3: Ignored env GIT_ASKPASS\r\ndebug3: Ignored env GROOVY_HOME\r\ndebug3: Ignored env TERM\r\ndebug3: Ignored env USER\r\ndebug3: Ignored env VSCODE_GIT_IPC_HANDLE\r\ndebug3: Ignored env MAVEN_HOME\r\ndebug3: Ignored env SDKMAN_DIR\r\ndebug3: Ignored env DISPLAY\r\ndebug3: Ignored env SHLVL\r\ndebug3: Ignored env SDKMAN_CANDIDATES_API\r\ndebug3: Ignored env XPC_SERVICE_NAME\r\ndebug3: Ignored env VSCODE_GIT_ASKPASS_MAIN\r\ndebug3: Ignored env PATH\r\ndebug3: Ignored env ORIGINAL_XDG_CURRENT_DESKTOP\r\ndebug3: Ignored env SDKMAN_PLATFORM\r\ndebug3: Ignored env VSCODEEXT_USER_AGENT\r\ndebug3: Ignored env __CF_USER_TEXT_ENCODING\r\ndebug3: Ignored env TERM_PROGRAM\r\ndebug3: Ignored env _\r\ndebug3: Ignored env __PYVENV_LAUNCHER__\r\ndebug1: Sending command: /bin/sh -c \'echo ~redhat && sleep 0\'\r\ndebug2: channel 0: request exec confirm 1\r\ndebug3: send packet: type 98\r\ndebug2: channel_input_open_confirmation: channel 0: callback done\r\ndebug2: channel 0: open confirm rwindow 0 rmax 32768\r\ndebug2: channel 0: rcvd adjust 2097152\r\ndebug3: receive packet: type 99\r\ndebug2: channel_input_status_confirm: type 99 id 0\r\ndebug2: exec request accepted on channel 0\r\ndebug3: receive packet: type 98\r\ndebug1: client_input_channel_req: channel 0 rtype exit-status reply 0\r\ndebug3: receive packet: type 98\r\ndebug1: client_input_channel_req: channel 0 rtype [email protected] reply 0\r\ndebug2: channel 0: rcvd eow\r\ndebug2: channel 0: chan_shutdown_read (i0 o0 sock -1 wfd 6 efd 8 [write])\r\ndebug2: channel 0: input open -> closed\r\ndebug3: receive packet: type 96\r\ndebug2: channel 0: rcvd eof\r\ndebug2: channel 0: output open -> drain\r\ndebug2: channel 0: obuf empty\r\ndebug2: channel 0: chan_shutdown_write (i3 o1 sock -1 wfd 7 efd 8 [write])\r\ndebug2: channel 0: output drain -> closed\r\ndebug3: receive packet: type 97\r\ndebug2: channel 0: rcvd close\r\ndebug3: channel 0: will not send data after close\r\ndebug2: channel 0: almost dead\r\ndebug2: channel 0: gc: notify user\r\ndebug2: channel 0: gc: user detached\r\ndebug2: channel 0: send close\r\ndebug3: send packet: type 97\r\ndebug2: channel 0: is dead\r\ndebug2: channel 0: garbage collecting\r\ndebug1: channel 0: free: client-session, nchannels 1\r\ndebug3: channel 0: status: The following connections are open:\r\n  #0 client-session (t4 r0 i3/0 o3/0 e[write]/0 fd -1/-1/8 sock -1 cc -1)\r\n\r\ndebug3: send packet: type 1\r\ndebug3: fd 1 is not O_NONBLOCK\r\ndebug1: fd 2 clearing O_NONBLOCK\r\nTransferred: sent 3912, received 2924 bytes, in 0.4 seconds\r\nBytes per second: sent 10850.2, received 8109.9\r\ndebug1: Exit status 0\r\n')
<host1.company.com> ESTABLISH SSH CONNECTION FOR USER: redhat
<host1.company.com> SSH: EXEC ssh -vvv -o ForwardAgent=yes -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="redhat"' -o ConnectTimeout=10 host1.company.com '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /home/redhat/.ansible/tmp `"&& mkdir /home/redhat/.ansible/tmp/ansible-tmp-1592949683.653033-56163-168684408179301 && echo ansible-tmp-1592949683.653033-56163-168684408179301="` echo /home/redhat/.ansible/tmp/ansible-tmp-1592949683.653033-56163-168684408179301 `" ) && sleep 0'"'"''
<host1.company.com> (0, b'ansible-tmp-1592949683.653033-56163-168684408179301=/home/redhat/.ansible/tmp/ansible-tmp-1592949683.653033-56163-168684408179301\n', b'OpenSSH_8.1p1, LibreSSL 2.7.3\r\ndebug1: Reading configuration data /Users/ansibleuser/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 47: Applying options for *\r\ndebug2: resolving "host1.company.com" port 22\r\ndebug2: ssh_connect_direct\r\ndebug1: Connecting to host1.company.com [34.220.1.72] port 22.\r\ndebug2: fd 5 setting O_NONBLOCK\r\ndebug1: fd 5 clearing O_NONBLOCK\r\ndebug1: Connection established.\r\ndebug3: timeout: 9827 ms remain after connect\r\ndebug1: identity file /Users/ansibleuser/.ssh/id_rsa type 0\r\ndebug1: identity file /Users/ansibleuser/.ssh/id_rsa-cert type -1\r\ndebug1: identity file /Users/ansibleuser/.ssh/id_dsa type -1\r\ndebug1: identity file /Users/ansibleuser/.ssh/id_dsa-cert type -1\r\ndebug1: identity file /Users/ansibleuser/.ssh/id_ecdsa type -1\r\ndebug1: identity file /Users/ansibleuser/.ssh/id_ecdsa-cert type -1\r\ndebug1: identity file /Users/ansibleuser/.ssh/id_ed25519 type -1\r\ndebug1: identity file /Users/ansibleuser/.ssh/id_ed25519-cert type -1\r\ndebug1: identity file /Users/ansibleuser/.ssh/id_xmss type -1\r\ndebug1: identity file /Users/ansibleuser/.ssh/id_xmss-cert type -1\r\ndebug1: Local version string SSH-2.0-OpenSSH_8.1\r\ndebug1: Remote protocol version 2.0, remote software version OpenSSH_7.4\r\ndebug1: match: OpenSSH_7.4 pat OpenSSH_7.0*,OpenSSH_7.1*,OpenSSH_7.2*,OpenSSH_7.3*,OpenSSH_7.4*,OpenSSH_7.5*,OpenSSH_7.6*,OpenSSH_7.7* compat 0x04000002\r\ndebug2: fd 5 setting O_NONBLOCK\r\ndebug1: Authenticating to host1.company.com:22 as \'redhat\'\r\ndebug3: hostkeys_foreach: reading file "/Users/ansibleuser/.ssh/known_hosts"\r\ndebug3: record_hostkey: found key type ECDSA in file /Users/ansibleuser/.ssh/known_hosts:227\r\ndebug3: load_hostkeys: loaded 1 keys from host1.company.com\r\ndebug3: order_hostkeyalgs: prefer hostkeyalgs: [email protected],[email protected],[email protected],ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521\r\ndebug3: send packet: type 20\r\ndebug1: SSH2_MSG_KEXINIT sent\r\ndebug3: receive packet: type 20\r\ndebug1: SSH2_MSG_KEXINIT received\r\ndebug2: local client KEXINIT proposal\r\ndebug2: KEX algorithms: curve25519-sha256,[email protected],ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group14-sha256,diffie-hellman-group14-sha1,ext-info-c\r\ndebug2: host key algorithms: [email protected],[email protected],[email protected],ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,[email protected],[email protected],[email protected],[email protected],ssh-ed25519,rsa-sha2-512,rsa-sha2-256,ssh-rsa\r\ndebug2: ciphers ctos: [email protected],aes128-ctr,aes192-ctr,aes256-ctr,[email protected],[email protected]\r\ndebug2: ciphers stoc: [email protected],aes128-ctr,aes192-ctr,aes256-ctr,[email protected],[email protected]\r\ndebug2: MACs ctos: [email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],hmac-sha2-256,hmac-sha2-512,hmac-sha1\r\ndebug2: MACs stoc: [email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],hmac-sha2-256,hmac-sha2-512,hmac-sha1\r\ndebug2: compression ctos: none,[email protected],zlib\r\ndebug2: compression stoc: none,[email protected],zlib\r\ndebug2: languages ctos: \r\ndebug2: languages stoc: \r\ndebug2: first_kex_follows 0 \r\ndebug2: reserved 0 \r\ndebug2: peer server KEXINIT proposal\r\ndebug2: KEX algorithms: curve25519-sha256,[email protected],ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha256,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1\r\ndebug2: host key algorithms: ssh-rsa,rsa-sha2-512,rsa-sha2-256,ecdsa-sha2-nistp256,ssh-ed25519\r\ndebug2: ciphers ctos: [email protected],aes128-ctr,aes192-ctr,aes256-ctr,[email protected],[email protected],aes128-cbc,aes192-cbc,aes256-cbc,blowfish-cbc,cast128-cbc,3des-cbc\r\ndebug2: ciphers stoc: [email protected],aes128-ctr,aes192-ctr,aes256-ctr,[email protected],[email protected],aes128-cbc,aes192-cbc,aes256-cbc,blowfish-cbc,cast128-cbc,3des-cbc\r\ndebug2: MACs ctos: [email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],hmac-sha2-256,hmac-sha2-512,hmac-sha1\r\ndebug2: MACs stoc: [email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],hmac-sha2-256,hmac-sha2-512,hmac-sha1\r\ndebug2: compression ctos: none,[email protected]\r\ndebug2: compression stoc: none,[email protected]\r\ndebug2: languages ctos: \r\ndebug2: languages stoc: \r\ndebug2: first_kex_follows 0 \r\ndebug2: reserved 0 \r\ndebug1: kex: algorithm: curve25519-sha256\r\ndebug1: kex: host key algorithm: ecdsa-sha2-nistp256\r\ndebug1: kex: server->client cipher: [email protected] MAC: <implicit> compression: none\r\ndebug1: kex: client->server cipher: [email protected] MAC: <implicit> compression: none\r\ndebug3: send packet: type 30\r\ndebug1: expecting SSH2_MSG_KEX_ECDH_REPLY\r\ndebug3: receive packet: type 31\r\ndebug1: Server host key: ecdsa-sha2-nistp256 SHA256:AAdSciJWX3ObYybJDi5x4dqMbFLhZPxOx+JF6qyBe+4\r\ndebug3: hostkeys_foreach: reading file "/Users/ansibleuser/.ssh/known_hosts"\r\ndebug3: record_hostkey: found key type ECDSA in file /Users/ansibleuser/.ssh/known_hosts:227\r\ndebug3: load_hostkeys: loaded 1 keys from host1.company.com\r\ndebug3: hostkeys_foreach: reading file "/Users/ansibleuser/.ssh/known_hosts"\r\ndebug3: record_hostkey: found key type ECDSA in file /Users/ansibleuser/.ssh/known_hosts:307\r\ndebug3: load_hostkeys: loaded 1 keys from 34.220.1.72\r\ndebug1: Host \'host1.company.com\' is known and matches the ECDSA host key.\r\ndebug1: Found key in /Users/ansibleuser/.ssh/known_hosts:227\r\ndebug3: send packet: type 21\r\ndebug2: set_newkeys: mode 1\r\ndebug1: rekey out after 134217728 blocks\r\ndebug1: SSH2_MSG_NEWKEYS sent\r\ndebug1: expecting SSH2_MSG_NEWKEYS\r\ndebug3: receive packet: type 21\r\ndebug1: SSH2_MSG_NEWKEYS received\r\ndebug2: set_newkeys: mode 0\r\ndebug1: rekey in after 134217728 blocks\r\ndebug1: Will attempt key: /Users/ansibleuser/.ssh/id_rsa RSA SHA256:zfIcNwb57FqZP9pugwk0w2Nn67yIKAzU1xFWZGeer34 agent\r\ndebug1: Will attempt key: /Users/ansibleuser/.ssh/4_4_Enablement.pem RSA SHA256:wECN4DL/gwI+XWehJFnQpdKruBBP18Ou0BwcelSqXms agent\r\ndebug1: Will attempt key: /Users/ansibleuser/.ssh/BiQ-Pem-SE.pem RSA SHA256:BdVFQGgBorUc8VZ3VETep7mfVhU1vZLrSc2V9upzCZY agent\r\ndebug1: Will attempt key: /Users/ansibleuser/.ssh/GenericVM.pem RSA SHA256:Jdng3tVXTutYOk7xTfpaDTwkjQ2cTo+B1Umz3FCr6gg agent\r\ndebug1: Will attempt key: /Users/ansibleuser/.ssh/BiQ_Pem_SE.pem RSA SHA256:gT+8jyC5fZUlDsFRnOOzx5wihXD8VFBofyYeWLxcvOg agent\r\ndebug1: Will attempt key: /Users/ansibleuser/.ssh/Java_Lab.pem RSA SHA256:0bivZabBfiN/2f2BqfiZfCu9DOL8YKyy//IJ+hs/nls agent\r\ndebug1: Will attempt key: /Users/ansibleuser/.ssh/devops_level1_lab.pem RSA SHA256:taeGJ4amTq1T9hSq2/CNvvMl7/gqV2AoNaSZI79zohg agent\r\ndebug1: Will attempt key: /Users/ansibleuser/.ssh/id_dsa \r\ndebug1: Will attempt key: /Users/ansibleuser/.ssh/id_ecdsa \r\ndebug1: Will attempt key: /Users/ansibleuser/.ssh/id_ed25519 \r\ndebug1: Will attempt key: /Users/ansibleuser/.ssh/id_xmss \r\ndebug2: pubkey_prepare: done\r\ndebug3: send packet: type 5\r\ndebug3: receive packet: type 7\r\ndebug1: SSH2_MSG_EXT_INFO received\r\ndebug1: kex_input_ext_info: server-sig-algs=<rsa-sha2-256,rsa-sha2-512>\r\ndebug3: receive packet: type 6\r\ndebug2: service_accept: ssh-userauth\r\ndebug1: SSH2_MSG_SERVICE_ACCEPT received\r\ndebug3: send packet: type 50\r\ndebug3: receive packet: type 51\r\ndebug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic\r\ndebug3: start over, passed a different list publickey,gssapi-keyex,gssapi-with-mic\r\ndebug3: preferred gssapi-with-mic,gssapi-keyex,hostbased,publickey\r\ndebug3: authmethod_lookup gssapi-with-mic\r\ndebug3: remaining preferred: gssapi-keyex,hostbased,publickey\r\ndebug3: authmethod_lookup gssapi-keyex\r\ndebug3: remaining preferred: hostbased,publickey\r\ndebug2: Unrecognized authentication method name: gssapi-keyex\r\ndebug3: authmethod_lookup publickey\r\ndebug3: remaining preferred: ,publickey\r\ndebug3: authmethod_is_enabled publickey\r\ndebug1: Next authentication method: publickey\r\ndebug1: Offering public key: /Users/ansibleuser/.ssh/id_rsa RSA SHA256:zfIcNwb57FqZP9pugwk0w2Nn67yIKAzU1xFWZGeer34 agent\r\ndebug3: send packet: type 50\r\ndebug2: we sent a publickey packet, wait for reply\r\ndebug3: receive packet: type 51\r\ndebug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic\r\ndebug1: Offering public key: /Users/ansibleuser/.ssh/4_4_Enablement.pem RSA SHA256:wECN4DL/gwI+XWehJFnQpdKruBBP18Ou0BwcelSqXms agent\r\ndebug3: send packet: type 50\r\ndebug2: we sent a publickey packet, wait for reply\r\ndebug3: receive packet: type 51\r\ndebug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic\r\ndebug1: Offering public key: /Users/ansibleuser/.ssh/BiQ-Pem-SE.pem RSA SHA256:BdVFQGgBorUc8VZ3VETep7mfVhU1vZLrSc2V9upzCZY agent\r\ndebug3: send packet: type 50\r\ndebug2: we sent a publickey packet, wait for reply\r\ndebug3: receive packet: type 51\r\ndebug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic\r\ndebug1: Offering public key: /Users/ansibleuser/.ssh/GenericVM.pem RSA SHA256:Jdng3tVXTutYOk7xTfpaDTwkjQ2cTo+B1Umz3FCr6gg agent\r\ndebug3: send packet: type 50\r\ndebug2: we sent a publickey packet, wait for reply\r\ndebug3: receive packet: type 60\r\ndebug1: Server accepts key: /Users/ansibleuser/.ssh/GenericVM.pem RSA SHA256:Jdng3tVXTutYOk7xTfpaDTwkjQ2cTo+B1Umz3FCr6gg agent\r\ndebug3: sign_and_send_pubkey: RSA SHA256:Jdng3tVXTutYOk7xTfpaDTwkjQ2cTo+B1Umz3FCr6gg\r\ndebug3: sign_and_send_pubkey: signing using rsa-sha2-512\r\ndebug3: send packet: type 50\r\ndebug3: receive packet: type 52\r\ndebug1: Authentication succeeded (publickey).\r\nAuthenticated to host1.company.com ([34.220.1.72]:22).\r\ndebug2: fd 7 setting O_NONBLOCK\r\ndebug2: fd 8 setting O_NONBLOCK\r\ndebug1: channel 0: new [client-session]\r\ndebug3: ssh_session2_open: channel_new: 0\r\ndebug2: channel 0: send open\r\ndebug3: send packet: type 90\r\ndebug1: Requesting [email protected]\r\ndebug3: send packet: type 80\r\ndebug1: Entering interactive session.\r\ndebug1: pledge: network\r\ndebug3: receive packet: type 80\r\ndebug1: client_input_global_request: rtype [email protected] want_reply 0\r\ndebug3: receive packet: type 91\r\ndebug2: channel_input_open_confirmation: channel 0: callback start\r\ndebug1: Requesting authentication agent forwarding.\r\ndebug2: channel 0: request [email protected] confirm 0\r\ndebug3: send packet: type 98\r\ndebug2: fd 5 setting TCP_NODELAY\r\ndebug3: ssh_packet_set_tos: set IP_TOS 0x20\r\ndebug2: client_session2_setup: id 0\r\ndebug1: Sending environment.\r\ndebug3: Ignored env SHELL\r\ndebug3: Ignored env COLORTERM\r\ndebug3: Ignored env XPC_FLAGS\r\ndebug3: Ignored env TERM_PROGRAM_VERSION\r\ndebug3: Ignored env SSH_AUTH_SOCK\r\ndebug3: Ignored env GRADLE_HOME\r\ndebug3: Ignored env SPRINGBOOT_HOME\r\ndebug3: Ignored env SDKMAN_CANDIDATES_DIR\r\ndebug3: Ignored env PWD\r\ndebug3: Ignored env LOGNAME\r\ndebug3: Ignored env VSCODE_GIT_ASKPASS_NODE\r\ndebug3: Ignored env ANSIBLE_VAULT_PASSWORD_FILE\r\ndebug3: Ignored env HOME\r\ndebug1: Sending env LANG = en_US.UTF-8\r\ndebug2: channel 0: request env confirm 0\r\ndebug3: send packet: type 98\r\ndebug3: Ignored env SDKMAN_VERSION\r\ndebug3: Ignored env TMPDIR\r\ndebug3: Ignored env GIT_ASKPASS\r\ndebug3: Ignored env GROOVY_HOME\r\ndebug3: Ignored env TERM\r\ndebug3: Ignored env USER\r\ndebug3: Ignored env VSCODE_GIT_IPC_HANDLE\r\ndebug3: Ignored env MAVEN_HOME\r\ndebug3: Ignored env SDKMAN_DIR\r\ndebug3: Ignored env DISPLAY\r\ndebug3: Ignored env SHLVL\r\ndebug3: Ignored env SDKMAN_CANDIDATES_API\r\ndebug3: Ignored env XPC_SERVICE_NAME\r\ndebug3: Ignored env VSCODE_GIT_ASKPASS_MAIN\r\ndebug3: Ignored env PATH\r\ndebug3: Ignored env ORIGINAL_XDG_CURRENT_DESKTOP\r\ndebug3: Ignored env SDKMAN_PLATFORM\r\ndebug3: Ignored env VSCODEEXT_USER_AGENT\r\ndebug3: Ignored env __CF_USER_TEXT_ENCODING\r\ndebug3: Ignored env TERM_PROGRAM\r\ndebug3: Ignored env _\r\ndebug3: Ignored env __PYVENV_LAUNCHER__\r\ndebug1: Sending command: /bin/sh -c \'( umask 77 && mkdir -p "` echo /home/redhat/.ansible/tmp `"&& mkdir /home/redhat/.ansible/tmp/ansible-tmp-1592949683.653033-56163-168684408179301 && echo ansible-tmp-1592949683.653033-56163-168684408179301="` echo /home/redhat/.ansible/tmp/ansible-tmp-1592949683.653033-56163-168684408179301 `" ) && sleep 0\'\r\ndebug2: channel 0: request exec confirm 1\r\ndebug3: send packet: type 98\r\ndebug2: channel_input_open_confirmation: channel 0: callback done\r\ndebug2: channel 0: open confirm rwindow 0 rmax 32768\r\ndebug2: channel 0: rcvd adjust 2097152\r\ndebug3: receive packet: type 99\r\ndebug2: channel_input_status_confirm: type 99 id 0\r\ndebug2: exec request accepted on channel 0\r\ndebug3: receive packet: type 98\r\ndebug1: client_input_channel_req: channel 0 rtype exit-status reply 0\r\ndebug3: receive packet: type 98\r\ndebug1: client_input_channel_req: channel 0 rtype [email protected] reply 0\r\ndebug2: channel 0: rcvd eow\r\ndebug2: channel 0: chan_shutdown_read (i0 o0 sock -1 wfd 6 efd 8 [write])\r\ndebug2: channel 0: input open -> closed\r\ndebug3: receive packet: type 96\r\ndebug2: channel 0: rcvd eof\r\ndebug2: channel 0: output open -> drain\r\ndebug3: receive packet: type 97\r\ndebug2: channel 0: rcvd close\r\ndebug3: channel 0: will not send data after close\r\ndebug3: channel 0: will not send data after close\r\ndebug2: channel 0: obuf empty\r\ndebug2: channel 0: chan_shutdown_write (i3 o1 sock -1 wfd 7 efd 8 [write])\r\ndebug2: channel 0: output drain -> closed\r\ndebug2: channel 0: almost dead\r\ndebug2: channel 0: gc: notify user\r\ndebug2: channel 0: gc: user detached\r\ndebug2: channel 0: send close\r\ndebug3: send packet: type 97\r\ndebug2: channel 0: is dead\r\ndebug2: channel 0: garbage collecting\r\ndebug1: channel 0: free: client-session, nchannels 1\r\ndebug3: channel 0: status: The following connections are open:\r\n  #0 client-session (t4 r0 i3/0 o3/0 e[write]/0 fd -1/-1/8 sock -1 cc -1)\r\n\r\ndebug3: send packet: type 1\r\ndebug3: fd 1 is not O_NONBLOCK\r\ndebug1: fd 2 clearing O_NONBLOCK\r\nTransferred: sent 4200, received 3044 bytes, in 0.4 seconds\r\nBytes per second: sent 11112.6, received 8054.0\r\ndebug1: Exit status 0\r\n')
Using module file /Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/ansible/modules/files/synchronize.py
<host1.company.com> PUT /Users/ansibleuser/.ansible/tmp/ansible-local-55856x5ogvuhc/tmp0dhwn333 TO /home/redhat/.ansible/tmp/ansible-tmp-1592949683.653033-56163-168684408179301/AnsiballZ_synchronize.py
<host1.company.com> SSH: EXEC sftp -b - -vvv -o ForwardAgent=yes -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="redhat"' -o ConnectTimeout=10 '[host1.company.com]'
<host1.company.com> (0, b'sftp> put /Users/ansibleuser/.ansible/tmp/ansible-local-55856x5ogvuhc/tmp0dhwn333 /home/redhat/.ansible/tmp/ansible-tmp-1592949683.653033-56163-168684408179301/AnsiballZ_synchronize.py\n', b'OpenSSH_8.1p1, LibreSSL 2.7.3\r\ndebug1: Reading configuration data /Users/ansibleuser/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 47: Applying options for *\r\ndebug2: resolving "host1.company.com" port 22\r\ndebug2: ssh_connect_direct\r\ndebug1: Connecting to host1.company.com [34.220.1.72] port 22.\r\ndebug2: fd 5 setting O_NONBLOCK\r\ndebug1: fd 5 clearing O_NONBLOCK\r\ndebug1: Connection established.\r\ndebug3: timeout: 9833 ms remain after connect\r\ndebug1: identity file /Users/ansibleuser/.ssh/id_rsa type 0\r\ndebug1: identity file /Users/ansibleuser/.ssh/id_rsa-cert type -1\r\ndebug1: identity file /Users/ansibleuser/.ssh/id_dsa type -1\r\ndebug1: identity file /Users/ansibleuser/.ssh/id_dsa-cert type -1\r\ndebug1: identity file /Users/ansibleuser/.ssh/id_ecdsa type -1\r\ndebug1: identity file /Users/ansibleuser/.ssh/id_ecdsa-cert type -1\r\ndebug1: identity file /Users/ansibleuser/.ssh/id_ed25519 type -1\r\ndebug1: identity file /Users/ansibleuser/.ssh/id_ed25519-cert type -1\r\ndebug1: identity file /Users/ansibleuser/.ssh/id_xmss type -1\r\ndebug1: identity file /Users/ansibleuser/.ssh/id_xmss-cert type -1\r\ndebug1: Local version string SSH-2.0-OpenSSH_8.1\r\ndebug1: Remote protocol version 2.0, remote software version OpenSSH_7.4\r\ndebug1: match: OpenSSH_7.4 pat OpenSSH_7.0*,OpenSSH_7.1*,OpenSSH_7.2*,OpenSSH_7.3*,OpenSSH_7.4*,OpenSSH_7.5*,OpenSSH_7.6*,OpenSSH_7.7* compat 0x04000002\r\ndebug2: fd 5 setting O_NONBLOCK\r\ndebug1: Authenticating to host1.company.com:22 as \'redhat\'\r\ndebug3: hostkeys_foreach: reading file "/Users/ansibleuser/.ssh/known_hosts"\r\ndebug3: record_hostkey: found key type ECDSA in file /Users/ansibleuser/.ssh/known_hosts:227\r\ndebug3: load_hostkeys: loaded 1 keys from host1.company.com\r\ndebug3: order_hostkeyalgs: prefer hostkeyalgs: [email protected],[email protected],[email protected],ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521\r\ndebug3: send packet: type 20\r\ndebug1: SSH2_MSG_KEXINIT sent\r\ndebug3: receive packet: type 20\r\ndebug1: SSH2_MSG_KEXINIT received\r\ndebug2: local client KEXINIT proposal\r\ndebug2: KEX algorithms: curve25519-sha256,[email protected],ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group14-sha256,diffie-hellman-group14-sha1,ext-info-c\r\ndebug2: host key algorithms: [email protected],[email protected],[email protected],ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,[email protected],[email protected],[email protected],[email protected],ssh-ed25519,rsa-sha2-512,rsa-sha2-256,ssh-rsa\r\ndebug2: ciphers ctos: [email protected],aes128-ctr,aes192-ctr,aes256-ctr,[email protected],[email protected]\r\ndebug2: ciphers stoc: [email protected],aes128-ctr,aes192-ctr,aes256-ctr,[email protected],[email protected]\r\ndebug2: MACs ctos: [email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],hmac-sha2-256,hmac-sha2-512,hmac-sha1\r\ndebug2: MACs stoc: [email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],hmac-sha2-256,hmac-sha2-512,hmac-sha1\r\ndebug2: compression ctos: none,[email protected],zlib\r\ndebug2: compression stoc: none,[email protected],zlib\r\ndebug2: languages ctos: \r\ndebug2: languages stoc: \r\ndebug2: first_kex_follows 0 \r\ndebug2: reserved 0 \r\ndebug2: peer server KEXINIT proposal\r\ndebug2: KEX algorithms: curve25519-sha256,[email protected],ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha256,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1\r\ndebug2: host key algorithms: ssh-rsa,rsa-sha2-512,rsa-sha2-256,ecdsa-sha2-nistp256,ssh-ed25519\r\ndebug2: ciphers ctos: [email protected],aes128-ctr,aes192-ctr,aes256-ctr,[email protected],[email protected],aes128-cbc,aes192-cbc,aes256-cbc,blowfish-cbc,cast128-cbc,3des-cbc\r\ndebug2: ciphers stoc: [email protected],aes128-ctr,aes192-ctr,aes256-ctr,[email protected],[email protected],aes128-cbc,aes192-cbc,aes256-cbc,blowfish-cbc,cast128-cbc,3des-cbc\r\ndebug2: MACs ctos: [email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],hmac-sha2-256,hmac-sha2-512,hmac-sha1\r\ndebug2: MACs stoc: [email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],hmac-sha2-256,hmac-sha2-512,hmac-sha1\r\ndebug2: compression ctos: none,[email protected]\r\ndebug2: compression stoc: none,[email protected]\r\ndebug2: languages ctos: \r\ndebug2: languages stoc: \r\ndebug2: first_kex_follows 0 \r\ndebug2: reserved 0 \r\ndebug1: kex: algorithm: curve25519-sha256\r\ndebug1: kex: host key algorithm: ecdsa-sha2-nistp256\r\ndebug1: kex: server->client cipher: [email protected] MAC: <implicit> compression: none\r\ndebug1: kex: client->server cipher: [email protected] MAC: <implicit> compression: none\r\ndebug3: send packet: type 30\r\ndebug1: expecting SSH2_MSG_KEX_ECDH_REPLY\r\ndebug3: receive packet: type 31\r\ndebug1: Server host key: ecdsa-sha2-nistp256 SHA256:AAdSciJWX3ObYybJDi5x4dqMbFLhZPxOx+JF6qyBe+4\r\ndebug3: hostkeys_foreach: reading file "/Users/ansibleuser/.ssh/known_hosts"\r\ndebug3: record_hostkey: found key type ECDSA in file /Users/ansibleuser/.ssh/known_hosts:227\r\ndebug3: load_hostkeys: loaded 1 keys from host1.company.com\r\ndebug3: hostkeys_foreach: reading file "/Users/ansibleuser/.ssh/known_hosts"\r\ndebug3: record_hostkey: found key type ECDSA in file /Users/ansibleuser/.ssh/known_hosts:307\r\ndebug3: load_hostkeys: loaded 1 keys from 34.220.1.72\r\ndebug1: Host \'host1.company.com\' is known and matches the ECDSA host key.\r\ndebug1: Found key in /Users/ansibleuser/.ssh/known_hosts:227\r\ndebug3: send packet: type 21\r\ndebug2: set_newkeys: mode 1\r\ndebug1: rekey out after 134217728 blocks\r\ndebug1: SSH2_MSG_NEWKEYS sent\r\ndebug1: expecting SSH2_MSG_NEWKEYS\r\ndebug3: receive packet: type 21\r\ndebug1: SSH2_MSG_NEWKEYS received\r\ndebug2: set_newkeys: mode 0\r\ndebug1: rekey in after 134217728 blocks\r\ndebug1: Will attempt key: /Users/ansibleuser/.ssh/id_rsa RSA SHA256:zfIcNwb57FqZP9pugwk0w2Nn67yIKAzU1xFWZGeer34 agent\r\ndebug1: Will attempt key: /Users/ansibleuser/.ssh/4_4_Enablement.pem RSA SHA256:wECN4DL/gwI+XWehJFnQpdKruBBP18Ou0BwcelSqXms agent\r\ndebug1: Will attempt key: /Users/ansibleuser/.ssh/BiQ-Pem-SE.pem RSA SHA256:BdVFQGgBorUc8VZ3VETep7mfVhU1vZLrSc2V9upzCZY agent\r\ndebug1: Will attempt key: /Users/ansibleuser/.ssh/GenericVM.pem RSA SHA256:Jdng3tVXTutYOk7xTfpaDTwkjQ2cTo+B1Umz3FCr6gg agent\r\ndebug1: Will attempt key: /Users/ansibleuser/.ssh/BiQ_Pem_SE.pem RSA SHA256:gT+8jyC5fZUlDsFRnOOzx5wihXD8VFBofyYeWLxcvOg agent\r\ndebug1: Will attempt key: /Users/ansibleuser/.ssh/Java_Lab.pem RSA SHA256:0bivZabBfiN/2f2BqfiZfCu9DOL8YKyy//IJ+hs/nls agent\r\ndebug1: Will attempt key: /Users/ansibleuser/.ssh/devops_level1_lab.pem RSA SHA256:taeGJ4amTq1T9hSq2/CNvvMl7/gqV2AoNaSZI79zohg agent\r\ndebug1: Will attempt key: /Users/ansibleuser/.ssh/id_dsa \r\ndebug1: Will attempt key: /Users/ansibleuser/.ssh/id_ecdsa \r\ndebug1: Will attempt key: /Users/ansibleuser/.ssh/id_ed25519 \r\ndebug1: Will attempt key: /Users/ansibleuser/.ssh/id_xmss \r\ndebug2: pubkey_prepare: done\r\ndebug3: send packet: type 5\r\ndebug3: receive packet: type 7\r\ndebug1: SSH2_MSG_EXT_INFO received\r\ndebug1: kex_input_ext_info: server-sig-algs=<rsa-sha2-256,rsa-sha2-512>\r\ndebug3: receive packet: type 6\r\ndebug2: service_accept: ssh-userauth\r\ndebug1: SSH2_MSG_SERVICE_ACCEPT received\r\ndebug3: send packet: type 50\r\ndebug3: receive packet: type 51\r\ndebug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic\r\ndebug3: start over, passed a different list publickey,gssapi-keyex,gssapi-with-mic\r\ndebug3: preferred gssapi-with-mic,gssapi-keyex,hostbased,publickey\r\ndebug3: authmethod_lookup gssapi-with-mic\r\ndebug3: remaining preferred: gssapi-keyex,hostbased,publickey\r\ndebug3: authmethod_lookup gssapi-keyex\r\ndebug3: remaining preferred: hostbased,publickey\r\ndebug2: Unrecognized authentication method name: gssapi-keyex\r\ndebug3: authmethod_lookup publickey\r\ndebug3: remaining preferred: ,publickey\r\ndebug3: authmethod_is_enabled publickey\r\ndebug1: Next authentication method: publickey\r\ndebug1: Offering public key: /Users/ansibleuser/.ssh/id_rsa RSA SHA256:zfIcNwb57FqZP9pugwk0w2Nn67yIKAzU1xFWZGeer34 agent\r\ndebug3: send packet: type 50\r\ndebug2: we sent a publickey packet, wait for reply\r\ndebug3: receive packet: type 51\r\ndebug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic\r\ndebug1: Offering public key: /Users/ansibleuser/.ssh/4_4_Enablement.pem RSA SHA256:wECN4DL/gwI+XWehJFnQpdKruBBP18Ou0BwcelSqXms agent\r\ndebug3: send packet: type 50\r\ndebug2: we sent a publickey packet, wait for reply\r\ndebug3: receive packet: type 51\r\ndebug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic\r\ndebug1: Offering public key: /Users/ansibleuser/.ssh/BiQ-Pem-SE.pem RSA SHA256:BdVFQGgBorUc8VZ3VETep7mfVhU1vZLrSc2V9upzCZY agent\r\ndebug3: send packet: type 50\r\ndebug2: we sent a publickey packet, wait for reply\r\ndebug3: receive packet: type 51\r\ndebug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic\r\ndebug1: Offering public key: /Users/ansibleuser/.ssh/GenericVM.pem RSA SHA256:Jdng3tVXTutYOk7xTfpaDTwkjQ2cTo+B1Umz3FCr6gg agent\r\ndebug3: send packet: type 50\r\ndebug2: we sent a publickey packet, wait for reply\r\ndebug3: receive packet: type 60\r\ndebug1: Server accepts key: /Users/ansibleuser/.ssh/GenericVM.pem RSA SHA256:Jdng3tVXTutYOk7xTfpaDTwkjQ2cTo+B1Umz3FCr6gg agent\r\ndebug3: sign_and_send_pubkey: RSA SHA256:Jdng3tVXTutYOk7xTfpaDTwkjQ2cTo+B1Umz3FCr6gg\r\ndebug3: sign_and_send_pubkey: signing using rsa-sha2-512\r\ndebug3: send packet: type 50\r\ndebug3: receive packet: type 52\r\ndebug1: Authentication succeeded (publickey).\r\nAuthenticated to host1.company.com ([34.220.1.72]:22).\r\ndebug2: fd 6 setting O_NONBLOCK\r\ndebug3: fd 7 is O_NONBLOCK\r\ndebug2: fd 8 setting O_NONBLOCK\r\ndebug1: channel 0: new [client-session]\r\ndebug3: ssh_session2_open: channel_new: 0\r\ndebug2: channel 0: send open\r\ndebug3: send packet: type 90\r\ndebug1: Requesting [email protected]\r\ndebug3: send packet: type 80\r\ndebug1: Entering interactive session.\r\ndebug1: pledge: network\r\ndebug3: receive packet: type 80\r\ndebug1: client_input_global_request: rtype [email protected] want_reply 0\r\ndebug3: receive packet: type 91\r\ndebug2: channel_input_open_confirmation: channel 0: callback start\r\ndebug2: fd 5 setting TCP_NODELAY\r\ndebug3: ssh_packet_set_tos: set IP_TOS 0x20\r\ndebug2: client_session2_setup: id 0\r\ndebug1: Sending environment.\r\ndebug3: Ignored env SHELL\r\ndebug3: Ignored env COLORTERM\r\ndebug3: Ignored env XPC_FLAGS\r\ndebug3: Ignored env TERM_PROGRAM_VERSION\r\ndebug3: Ignored env SSH_AUTH_SOCK\r\ndebug3: Ignored env GRADLE_HOME\r\ndebug3: Ignored env SPRINGBOOT_HOME\r\ndebug3: Ignored env SDKMAN_CANDIDATES_DIR\r\ndebug3: Ignored env PWD\r\ndebug3: Ignored env LOGNAME\r\ndebug3: Ignored env VSCODE_GIT_ASKPASS_NODE\r\ndebug3: Ignored env ANSIBLE_VAULT_PASSWORD_FILE\r\ndebug3: Ignored env HOME\r\ndebug1: Sending env LANG = en_US.UTF-8\r\ndebug2: channel 0: request env confirm 0\r\ndebug3: send packet: type 98\r\ndebug3: Ignored env SDKMAN_VERSION\r\ndebug3: Ignored env TMPDIR\r\ndebug3: Ignored env GIT_ASKPASS\r\ndebug3: Ignored env GROOVY_HOME\r\ndebug3: Ignored env TERM\r\ndebug3: Ignored env USER\r\ndebug3: Ignored env VSCODE_GIT_IPC_HANDLE\r\ndebug3: Ignored env MAVEN_HOME\r\ndebug3: Ignored env SDKMAN_DIR\r\ndebug3: Ignored env DISPLAY\r\ndebug3: Ignored env SHLVL\r\ndebug3: Ignored env SDKMAN_CANDIDATES_API\r\ndebug3: Ignored env XPC_SERVICE_NAME\r\ndebug3: Ignored env VSCODE_GIT_ASKPASS_MAIN\r\ndebug3: Ignored env PATH\r\ndebug3: Ignored env ORIGINAL_XDG_CURRENT_DESKTOP\r\ndebug3: Ignored env SDKMAN_PLATFORM\r\ndebug3: Ignored env VSCODEEXT_USER_AGENT\r\ndebug3: Ignored env __CF_USER_TEXT_ENCODING\r\ndebug3: Ignored env TERM_PROGRAM\r\ndebug3: Ignored env _\r\ndebug3: Ignored env __PYVENV_LAUNCHER__\r\ndebug1: Sending subsystem: sftp\r\ndebug2: channel 0: request subsystem confirm 1\r\ndebug3: send packet: type 98\r\ndebug2: channel_input_open_confirmation: channel 0: callback done\r\ndebug2: channel 0: open confirm rwindow 0 rmax 32768\r\ndebug2: channel 0: rcvd adjust 2097152\r\ndebug3: receive packet: type 99\r\ndebug2: channel_input_status_confirm: type 99 id 0\r\ndebug2: subsystem request accepted on channel 0\r\ndebug2: Remote version: 3\r\ndebug2: Server supports extension "[email protected]" revision 1\r\ndebug2: Server supports extension "[email protected]" revision 2\r\ndebug2: Server supports extension "[email protected]" revision 2\r\ndebug2: Server supports extension "[email protected]" revision 1\r\ndebug2: Server supports extension "[email protected]" revision 1\r\ndebug3: Sent message fd 3 T:16 I:1\r\ndebug3: SSH_FXP_REALPATH . -> /home/redhat size 0\r\ndebug3: Looking up /Users/ansibleuser/.ansible/tmp/ansible-local-55856x5ogvuhc/tmp0dhwn333\r\ndebug3: Sent message fd 3 T:17 I:2\r\ndebug3: Received stat reply T:101 I:2\r\ndebug1: Couldn\'t stat remote file: No such file or directory\r\ndebug3: Sent message SSH2_FXP_OPEN I:3 P:/home/redhat/.ansible/tmp/ansible-tmp-1592949683.653033-56163-168684408179301/AnsiballZ_synchronize.py\r\ndebug3: Sent message SSH2_FXP_WRITE I:4 O:0 S:32768\r\ndebug3: SSH2_FXP_STATUS 0\r\ndebug3: In write loop, ack for 4 32768 bytes at 0\r\ndebug3: Sent message SSH2_FXP_WRITE I:5 O:32768 S:32768\r\ndebug3: Sent message SSH2_FXP_WRITE I:6 O:65536 S:32768\r\ndebug3: Sent message SSH2_FXP_WRITE I:7 O:98304 S:22456\r\ndebug3: SSH2_FXP_STATUS 0\r\ndebug3: In write loop, ack for 5 32768 bytes at 32768\r\ndebug2: channel 0: rcvd adjust 98660\r\ndebug3: SSH2_FXP_STATUS 0\r\ndebug3: In write loop, ack for 6 32768 bytes at 65536\r\ndebug3: SSH2_FXP_STATUS 0\r\ndebug3: In write loop, ack for 7 22456 bytes at 98304\r\ndebug3: Sent message SSH2_FXP_CLOSE I:4\r\ndebug3: SSH2_FXP_STATUS 0\r\ndebug2: channel 0: read<=0 rfd 6 len 0\r\ndebug2: channel 0: read failed\r\ndebug2: channel 0: chan_shutdown_read (i0 o0 sock -1 wfd 6 efd 8 [write])\r\ndebug2: channel 0: input open -> drain\r\ndebug2: channel 0: ibuf empty\r\ndebug2: channel 0: send eof\r\ndebug3: send packet: type 96\r\ndebug2: channel 0: input drain -> closed\r\ndebug3: receive packet: type 96\r\ndebug2: channel 0: rcvd eof\r\ndebug2: channel 0: output open -> drain\r\ndebug2: channel 0: obuf empty\r\ndebug2: channel 0: chan_shutdown_write (i3 o1 sock -1 wfd 7 efd 8 [write])\r\ndebug2: channel 0: output drain -> closed\r\ndebug3: receive packet: type 98\r\ndebug1: client_input_channel_req: channel 0 rtype exit-status reply 0\r\ndebug3: receive packet: type 97\r\ndebug2: channel 0: rcvd close\r\ndebug3: channel 0: will not send data after close\r\ndebug2: channel 0: almost dead\r\ndebug2: channel 0: gc: notify user\r\ndebug2: channel 0: gc: user detached\r\ndebug2: channel 0: send close\r\ndebug3: send packet: type 97\r\ndebug2: channel 0: is dead\r\ndebug2: channel 0: garbage collecting\r\ndebug1: channel 0: free: client-session, nchannels 1\r\ndebug3: channel 0: status: The following connections are open:\r\n  #0 client-session (t4 r0 i3/0 o3/0 e[write]/0 fd -1/-1/8 sock -1 cc -1)\r\n\r\ndebug3: send packet: type 1\r\ndebug1: fd 0 clearing O_NONBLOCK\r\ndebug3: fd 1 is not O_NONBLOCK\r\ndebug1: fd 2 clearing O_NONBLOCK\r\nTransferred: sent 125484, received 3468 bytes, in 3.2 seconds\r\nBytes per second: sent 38659.4, received 1068.4\r\ndebug1: Exit status 0\r\n')
<host1.company.com> ESTABLISH SSH CONNECTION FOR USER: redhat
<host1.company.com> SSH: EXEC ssh -vvv -o ForwardAgent=yes -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="redhat"' -o ConnectTimeout=10 host1.company.com '/bin/sh -c '"'"'chmod u+x /home/redhat/.ansible/tmp/ansible-tmp-1592949683.653033-56163-168684408179301/ /home/redhat/.ansible/tmp/ansible-tmp-1592949683.653033-56163-168684408179301/AnsiballZ_synchronize.py && sleep 0'"'"''
<host1.company.com> (0, b'', b'OpenSSH_8.1p1, LibreSSL 2.7.3\r\ndebug1: Reading configuration data /Users/ansibleuser/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 47: Applying options for *\r\ndebug2: resolving "host1.company.com" port 22\r\ndebug2: ssh_connect_direct\r\ndebug1: Connecting to host1.company.com [34.220.1.72] port 22.\r\ndebug2: fd 5 setting O_NONBLOCK\r\ndebug1: fd 5 clearing O_NONBLOCK\r\ndebug1: Connection established.\r\ndebug3: timeout: 9234 ms remain after connect\r\ndebug1: identity file /Users/ansibleuser/.ssh/id_rsa type 0\r\ndebug1: identity file /Users/ansibleuser/.ssh/id_rsa-cert type -1\r\ndebug1: identity file /Users/ansibleuser/.ssh/id_dsa type -1\r\ndebug1: identity file /Users/ansibleuser/.ssh/id_dsa-cert type -1\r\ndebug1: identity file /Users/ansibleuser/.ssh/id_ecdsa type -1\r\ndebug1: identity file /Users/ansibleuser/.ssh/id_ecdsa-cert type -1\r\ndebug1: identity file /Users/ansibleuser/.ssh/id_ed25519 type -1\r\ndebug1: identity file /Users/ansibleuser/.ssh/id_ed25519-cert type -1\r\ndebug1: identity file /Users/ansibleuser/.ssh/id_xmss type -1\r\ndebug1: identity file /Users/ansibleuser/.ssh/id_xmss-cert type -1\r\ndebug1: Local version string SSH-2.0-OpenSSH_8.1\r\ndebug1: Remote protocol version 2.0, remote software version OpenSSH_7.4\r\ndebug1: match: OpenSSH_7.4 pat OpenSSH_7.0*,OpenSSH_7.1*,OpenSSH_7.2*,OpenSSH_7.3*,OpenSSH_7.4*,OpenSSH_7.5*,OpenSSH_7.6*,OpenSSH_7.7* compat 0x04000002\r\ndebug2: fd 5 setting O_NONBLOCK\r\ndebug1: Authenticating to host1.company.com:22 as \'redhat\'\r\ndebug3: hostkeys_foreach: reading file "/Users/ansibleuser/.ssh/known_hosts"\r\ndebug3: record_hostkey: found key type ECDSA in file /Users/ansibleuser/.ssh/known_hosts:227\r\ndebug3: load_hostkeys: loaded 1 keys from host1.company.com\r\ndebug3: order_hostkeyalgs: prefer hostkeyalgs: [email protected],[email protected],[email protected],ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521\r\ndebug3: send packet: type 20\r\ndebug1: SSH2_MSG_KEXINIT sent\r\ndebug3: receive packet: type 20\r\ndebug1: SSH2_MSG_KEXINIT received\r\ndebug2: local client KEXINIT proposal\r\ndebug2: KEX algorithms: curve25519-sha256,[email protected],ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group14-sha256,diffie-hellman-group14-sha1,ext-info-c\r\ndebug2: host key algorithms: [email protected],[email protected],[email protected],ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,[email protected],[email protected],[email protected],[email protected],ssh-ed25519,rsa-sha2-512,rsa-sha2-256,ssh-rsa\r\ndebug2: ciphers ctos: [email protected],aes128-ctr,aes192-ctr,aes256-ctr,[email protected],[email protected]\r\ndebug2: ciphers stoc: [email protected],aes128-ctr,aes192-ctr,aes256-ctr,[email protected],[email protected]\r\ndebug2: MACs ctos: [email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],hmac-sha2-256,hmac-sha2-512,hmac-sha1\r\ndebug2: MACs stoc: [email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],hmac-sha2-256,hmac-sha2-512,hmac-sha1\r\ndebug2: compression ctos: none,[email protected],zlib\r\ndebug2: compression stoc: none,[email protected],zlib\r\ndebug2: languages ctos: \r\ndebug2: languages stoc: \r\ndebug2: first_kex_follows 0 \r\ndebug2: reserved 0 \r\ndebug2: peer server KEXINIT proposal\r\ndebug2: KEX algorithms: curve25519-sha256,[email protected],ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha256,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1\r\ndebug2: host key algorithms: ssh-rsa,rsa-sha2-512,rsa-sha2-256,ecdsa-sha2-nistp256,ssh-ed25519\r\ndebug2: ciphers ctos: [email protected],aes128-ctr,aes192-ctr,aes256-ctr,[email protected],[email protected],aes128-cbc,aes192-cbc,aes256-cbc,blowfish-cbc,cast128-cbc,3des-cbc\r\ndebug2: ciphers stoc: [email protected],aes128-ctr,aes192-ctr,aes256-ctr,[email protected],[email protected],aes128-cbc,aes192-cbc,aes256-cbc,blowfish-cbc,cast128-cbc,3des-cbc\r\ndebug2: MACs ctos: [email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],hmac-sha2-256,hmac-sha2-512,hmac-sha1\r\ndebug2: MACs stoc: [email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],hmac-sha2-256,hmac-sha2-512,hmac-sha1\r\ndebug2: compression ctos: none,[email protected]\r\ndebug2: compression stoc: none,[email protected]\r\ndebug2: languages ctos: \r\ndebug2: languages stoc: \r\ndebug2: first_kex_follows 0 \r\ndebug2: reserved 0 \r\ndebug1: kex: algorithm: curve25519-sha256\r\ndebug1: kex: host key algorithm: ecdsa-sha2-nistp256\r\ndebug1: kex: server->client cipher: [email protected] MAC: <implicit> compression: none\r\ndebug1: kex: client->server cipher: [email protected] MAC: <implicit> compression: none\r\ndebug3: send packet: type 30\r\ndebug1: expecting SSH2_MSG_KEX_ECDH_REPLY\r\ndebug3: receive packet: type 31\r\ndebug1: Server host key: ecdsa-sha2-nistp256 SHA256:AAdSciJWX3ObYybJDi5x4dqMbFLhZPxOx+JF6qyBe+4\r\ndebug3: hostkeys_foreach: reading file "/Users/ansibleuser/.ssh/known_hosts"\r\ndebug3: record_hostkey: found key type ECDSA in file /Users/ansibleuser/.ssh/known_hosts:227\r\ndebug3: load_hostkeys: loaded 1 keys from host1.company.com\r\ndebug3: hostkeys_foreach: reading file "/Users/ansibleuser/.ssh/known_hosts"\r\ndebug3: record_hostkey: found key type ECDSA in file /Users/ansibleuser/.ssh/known_hosts:307\r\ndebug3: load_hostkeys: loaded 1 keys from 34.220.1.72\r\ndebug1: Host \'host1.company.com\' is known and matches the ECDSA host key.\r\ndebug1: Found key in /Users/ansibleuser/.ssh/known_hosts:227\r\ndebug3: send packet: type 21\r\ndebug2: set_newkeys: mode 1\r\ndebug1: rekey out after 134217728 blocks\r\ndebug1: SSH2_MSG_NEWKEYS sent\r\ndebug1: expecting SSH2_MSG_NEWKEYS\r\ndebug3: receive packet: type 21\r\ndebug1: SSH2_MSG_NEWKEYS received\r\ndebug2: set_newkeys: mode 0\r\ndebug1: rekey in after 134217728 blocks\r\ndebug1: Will attempt key: /Users/ansibleuser/.ssh/id_rsa RSA SHA256:zfIcNwb57FqZP9pugwk0w2Nn67yIKAzU1xFWZGeer34 agent\r\ndebug1: Will attempt key: /Users/ansibleuser/.ssh/4_4_Enablement.pem RSA SHA256:wECN4DL/gwI+XWehJFnQpdKruBBP18Ou0BwcelSqXms agent\r\ndebug1: Will attempt key: /Users/ansibleuser/.ssh/BiQ-Pem-SE.pem RSA SHA256:BdVFQGgBorUc8VZ3VETep7mfVhU1vZLrSc2V9upzCZY agent\r\ndebug1: Will attempt key: /Users/ansibleuser/.ssh/GenericVM.pem RSA SHA256:Jdng3tVXTutYOk7xTfpaDTwkjQ2cTo+B1Umz3FCr6gg agent\r\ndebug1: Will attempt key: /Users/ansibleuser/.ssh/BiQ_Pem_SE.pem RSA SHA256:gT+8jyC5fZUlDsFRnOOzx5wihXD8VFBofyYeWLxcvOg agent\r\ndebug1: Will attempt key: /Users/ansibleuser/.ssh/Java_Lab.pem RSA SHA256:0bivZabBfiN/2f2BqfiZfCu9DOL8YKyy//IJ+hs/nls agent\r\ndebug1: Will attempt key: /Users/ansibleuser/.ssh/devops_level1_lab.pem RSA SHA256:taeGJ4amTq1T9hSq2/CNvvMl7/gqV2AoNaSZI79zohg agent\r\ndebug1: Will attempt key: /Users/ansibleuser/.ssh/id_dsa \r\ndebug1: Will attempt key: /Users/ansibleuser/.ssh/id_ecdsa \r\ndebug1: Will attempt key: /Users/ansibleuser/.ssh/id_ed25519 \r\ndebug1: Will attempt key: /Users/ansibleuser/.ssh/id_xmss \r\ndebug2: pubkey_prepare: done\r\ndebug3: send packet: type 5\r\ndebug3: receive packet: type 7\r\ndebug1: SSH2_MSG_EXT_INFO received\r\ndebug1: kex_input_ext_info: server-sig-algs=<rsa-sha2-256,rsa-sha2-512>\r\ndebug3: receive packet: type 6\r\ndebug2: service_accept: ssh-userauth\r\ndebug1: SSH2_MSG_SERVICE_ACCEPT received\r\ndebug3: send packet: type 50\r\ndebug3: receive packet: type 51\r\ndebug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic\r\ndebug3: start over, passed a different list publickey,gssapi-keyex,gssapi-with-mic\r\ndebug3: preferred gssapi-with-mic,gssapi-keyex,hostbased,publickey\r\ndebug3: authmethod_lookup gssapi-with-mic\r\ndebug3: remaining preferred: gssapi-keyex,hostbased,publickey\r\ndebug3: authmethod_lookup gssapi-keyex\r\ndebug3: remaining preferred: hostbased,publickey\r\ndebug2: Unrecognized authentication method name: gssapi-keyex\r\ndebug3: authmethod_lookup publickey\r\ndebug3: remaining preferred: ,publickey\r\ndebug3: authmethod_is_enabled publickey\r\ndebug1: Next authentication method: publickey\r\ndebug1: Offering public key: /Users/ansibleuser/.ssh/id_rsa RSA SHA256:zfIcNwb57FqZP9pugwk0w2Nn67yIKAzU1xFWZGeer34 agent\r\ndebug3: send packet: type 50\r\ndebug2: we sent a publickey packet, wait for reply\r\ndebug3: receive packet: type 51\r\ndebug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic\r\ndebug1: Offering public key: /Users/ansibleuser/.ssh/4_4_Enablement.pem RSA SHA256:wECN4DL/gwI+XWehJFnQpdKruBBP18Ou0BwcelSqXms agent\r\ndebug3: send packet: type 50\r\ndebug2: we sent a publickey packet, wait for reply\r\ndebug3: receive packet: type 51\r\ndebug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic\r\ndebug1: Offering public key: /Users/ansibleuser/.ssh/BiQ-Pem-SE.pem RSA SHA256:BdVFQGgBorUc8VZ3VETep7mfVhU1vZLrSc2V9upzCZY agent\r\ndebug3: send packet: type 50\r\ndebug2: we sent a publickey packet, wait for reply\r\ndebug3: receive packet: type 51\r\ndebug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic\r\ndebug1: Offering public key: /Users/ansibleuser/.ssh/GenericVM.pem RSA SHA256:Jdng3tVXTutYOk7xTfpaDTwkjQ2cTo+B1Umz3FCr6gg agent\r\ndebug3: send packet: type 50\r\ndebug2: we sent a publickey packet, wait for reply\r\ndebug3: receive packet: type 60\r\ndebug1: Server accepts key: /Users/ansibleuser/.ssh/GenericVM.pem RSA SHA256:Jdng3tVXTutYOk7xTfpaDTwkjQ2cTo+B1Umz3FCr6gg agent\r\ndebug3: sign_and_send_pubkey: RSA SHA256:Jdng3tVXTutYOk7xTfpaDTwkjQ2cTo+B1Umz3FCr6gg\r\ndebug3: sign_and_send_pubkey: signing using rsa-sha2-512\r\ndebug3: send packet: type 50\r\ndebug3: receive packet: type 52\r\ndebug1: Authentication succeeded (publickey).\r\nAuthenticated to host1.company.com ([34.220.1.72]:22).\r\ndebug2: fd 7 setting O_NONBLOCK\r\ndebug2: fd 8 setting O_NONBLOCK\r\ndebug1: channel 0: new [client-session]\r\ndebug3: ssh_session2_open: channel_new: 0\r\ndebug2: channel 0: send open\r\ndebug3: send packet: type 90\r\ndebug1: Requesting [email protected]\r\ndebug3: send packet: type 80\r\ndebug1: Entering interactive session.\r\ndebug1: pledge: network\r\ndebug3: receive packet: type 80\r\ndebug1: client_input_global_request: rtype [email protected] want_reply 0\r\ndebug3: receive packet: type 91\r\ndebug2: channel_input_open_confirmation: channel 0: callback start\r\ndebug1: Requesting authentication agent forwarding.\r\ndebug2: channel 0: request [email protected] confirm 0\r\ndebug3: send packet: type 98\r\ndebug2: fd 5 setting TCP_NODELAY\r\ndebug3: ssh_packet_set_tos: set IP_TOS 0x20\r\ndebug2: client_session2_setup: id 0\r\ndebug1: Sending environment.\r\ndebug3: Ignored env SHELL\r\ndebug3: Ignored env COLORTERM\r\ndebug3: Ignored env XPC_FLAGS\r\ndebug3: Ignored env TERM_PROGRAM_VERSION\r\ndebug3: Ignored env SSH_AUTH_SOCK\r\ndebug3: Ignored env GRADLE_HOME\r\ndebug3: Ignored env SPRINGBOOT_HOME\r\ndebug3: Ignored env SDKMAN_CANDIDATES_DIR\r\ndebug3: Ignored env PWD\r\ndebug3: Ignored env LOGNAME\r\ndebug3: Ignored env VSCODE_GIT_ASKPASS_NODE\r\ndebug3: Ignored env ANSIBLE_VAULT_PASSWORD_FILE\r\ndebug3: Ignored env HOME\r\ndebug1: Sending env LANG = en_US.UTF-8\r\ndebug2: channel 0: request env confirm 0\r\ndebug3: send packet: type 98\r\ndebug3: Ignored env SDKMAN_VERSION\r\ndebug3: Ignored env TMPDIR\r\ndebug3: Ignored env GIT_ASKPASS\r\ndebug3: Ignored env GROOVY_HOME\r\ndebug3: Ignored env TERM\r\ndebug3: Ignored env USER\r\ndebug3: Ignored env VSCODE_GIT_IPC_HANDLE\r\ndebug3: Ignored env MAVEN_HOME\r\ndebug3: Ignored env SDKMAN_DIR\r\ndebug3: Ignored env DISPLAY\r\ndebug3: Ignored env SHLVL\r\ndebug3: Ignored env SDKMAN_CANDIDATES_API\r\ndebug3: Ignored env XPC_SERVICE_NAME\r\ndebug3: Ignored env VSCODE_GIT_ASKPASS_MAIN\r\ndebug3: Ignored env PATH\r\ndebug3: Ignored env ORIGINAL_XDG_CURRENT_DESKTOP\r\ndebug3: Ignored env SDKMAN_PLATFORM\r\ndebug3: Ignored env VSCODEEXT_USER_AGENT\r\ndebug3: Ignored env __CF_USER_TEXT_ENCODING\r\ndebug3: Ignored env TERM_PROGRAM\r\ndebug3: Ignored env _\r\ndebug3: Ignored env __PYVENV_LAUNCHER__\r\ndebug1: Sending command: /bin/sh -c \'chmod u+x /home/redhat/.ansible/tmp/ansible-tmp-1592949683.653033-56163-168684408179301/ /home/redhat/.ansible/tmp/ansible-tmp-1592949683.653033-56163-168684408179301/AnsiballZ_synchronize.py && sleep 0\'\r\ndebug2: channel 0: request exec confirm 1\r\ndebug3: send packet: type 98\r\ndebug2: channel_input_open_confirmation: channel 0: callback done\r\ndebug2: channel 0: open confirm rwindow 0 rmax 32768\r\ndebug2: channel 0: rcvd adjust 2097152\r\ndebug3: receive packet: type 99\r\ndebug2: channel_input_status_confirm: type 99 id 0\r\ndebug2: exec request accepted on channel 0\r\ndebug3: receive packet: type 98\r\ndebug1: client_input_channel_req: channel 0 rtype exit-status reply 0\r\ndebug3: receive packet: type 98\r\ndebug1: client_input_channel_req: channel 0 rtype [email protected] reply 0\r\ndebug2: channel 0: rcvd eow\r\ndebug2: channel 0: chan_shutdown_read (i0 o0 sock -1 wfd 6 efd 8 [write])\r\ndebug2: channel 0: input open -> closed\r\ndebug3: receive packet: type 96\r\ndebug2: channel 0: rcvd eof\r\ndebug2: channel 0: output open -> drain\r\ndebug2: channel 0: obuf empty\r\ndebug2: channel 0: chan_shutdown_write (i3 o1 sock -1 wfd 7 efd 8 [write])\r\ndebug2: channel 0: output drain -> closed\r\ndebug3: receive packet: type 97\r\ndebug2: channel 0: rcvd close\r\ndebug3: channel 0: will not send data after close\r\ndebug2: channel 0: almost dead\r\ndebug2: channel 0: gc: notify user\r\ndebug2: channel 0: gc: user detached\r\ndebug2: channel 0: send close\r\ndebug3: send packet: type 97\r\ndebug2: channel 0: is dead\r\ndebug2: channel 0: garbage collecting\r\ndebug1: channel 0: free: client-session, nchannels 1\r\ndebug3: channel 0: status: The following connections are open:\r\n  #0 client-session (t4 r0 i3/0 o3/0 e[write]/0 fd -1/-1/8 sock -1 cc -1)\r\n\r\ndebug3: send packet: type 1\r\ndebug3: fd 1 is not O_NONBLOCK\r\ndebug1: fd 2 clearing O_NONBLOCK\r\nTransferred: sent 4096, received 2888 bytes, in 0.3 seconds\r\nBytes per second: sent 12380.1, received 8729.0\r\ndebug1: Exit status 0\r\n')
<host1.company.com> ESTABLISH SSH CONNECTION FOR USER: redhat
<host1.company.com> SSH: EXEC ssh -vvv -o ForwardAgent=yes -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="redhat"' -o ConnectTimeout=10 -tt host1.company.com '/bin/sh -c '"'"'/usr/bin/python /home/redhat/.ansible/tmp/ansible-tmp-1592949683.653033-56163-168684408179301/AnsiballZ_synchronize.py && sleep 0'"'"''
<host1.company.com> (1, b'\r\n{"msg": "Warning: Permanently added \'host2.company.com,IP-REDACTED\' (ECDSA) to the list of known hosts.\\r\\nReceived disconnect from IP-REDACTED port 22:2: Too many authentication failures\\r\\nAuthentication failed.\\r\\nrsync: connection unexpectedly closed (0 bytes received so far) [sender]\\nrsync error: unexplained error (code 255) at io.c(226) [sender=3.1.2]\\n", "failed": true, "cmd": "/usr/bin/rsync --delay-updates -F --compress --archive --rsh=/usr/bin/ssh -S none -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o ForwardAgent=yes --out-format=<<CHANGED>>%i %n%L /opt/appdynamics/appd-cluster-connector-20200623220055.tgz [email protected]:/tmp/appd-cluster-connector.tgz", "rc": 255, "invocation": {"module_args": {"partial": false, "links": null, "copy_links": false, "perms": null, "link_dest": null, "owner": null, "_local_rsync_password": null, "archive": true, "dest_port": null, "_local_rsync_path": "rsync", "group": null, "recursive": null, "rsync_path": null, "_substitute_controller": false, "verify_host": false, "dirs": false, "private_key": null, "dest": "[email protected]:/tmp/appd-cluster-connector.tgz", "compress": true, "rsync_timeout": 0, "rsync_opts": [], "set_remote_user": true, "existing_only": false, "src": "/opt/appdynamics/appd-cluster-connector-20200623220055.tgz", "checksum": false, "times": null, "mode": "push", "ssh_args": "-o ForwardAgent=yes", "delete": false}}}\r\n', b'OpenSSH_8.1p1, LibreSSL 2.7.3\r\ndebug1: Reading configuration data /Users/ansibleuser/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 47: Applying options for *\r\ndebug2: resolving "host1.company.com" port 22\r\ndebug2: ssh_connect_direct\r\ndebug1: Connecting to host1.company.com [34.220.1.72] port 22.\r\ndebug2: fd 5 setting O_NONBLOCK\r\ndebug1: fd 5 clearing O_NONBLOCK\r\ndebug1: Connection established.\r\ndebug3: timeout: 9822 ms remain after connect\r\ndebug1: identity file /Users/ansibleuser/.ssh/id_rsa type 0\r\ndebug1: identity file /Users/ansibleuser/.ssh/id_rsa-cert type -1\r\ndebug1: identity file /Users/ansibleuser/.ssh/id_dsa type -1\r\ndebug1: identity file /Users/ansibleuser/.ssh/id_dsa-cert type -1\r\ndebug1: identity file /Users/ansibleuser/.ssh/id_ecdsa type -1\r\ndebug1: identity file /Users/ansibleuser/.ssh/id_ecdsa-cert type -1\r\ndebug1: identity file /Users/ansibleuser/.ssh/id_ed25519 type -1\r\ndebug1: identity file /Users/ansibleuser/.ssh/id_ed25519-cert type -1\r\ndebug1: identity file /Users/ansibleuser/.ssh/id_xmss type -1\r\ndebug1: identity file /Users/ansibleuser/.ssh/id_xmss-cert type -1\r\ndebug1: Local version string SSH-2.0-OpenSSH_8.1\r\ndebug1: Remote protocol version 2.0, remote software version OpenSSH_7.4\r\ndebug1: match: OpenSSH_7.4 pat OpenSSH_7.0*,OpenSSH_7.1*,OpenSSH_7.2*,OpenSSH_7.3*,OpenSSH_7.4*,OpenSSH_7.5*,OpenSSH_7.6*,OpenSSH_7.7* compat 0x04000002\r\ndebug2: fd 5 setting O_NONBLOCK\r\ndebug1: Authenticating to host1.company.com:22 as \'redhat\'\r\ndebug3: hostkeys_foreach: reading file "/Users/ansibleuser/.ssh/known_hosts"\r\ndebug3: record_hostkey: found key type ECDSA in file /Users/ansibleuser/.ssh/known_hosts:227\r\ndebug3: load_hostkeys: loaded 1 keys from host1.company.com\r\ndebug3: order_hostkeyalgs: prefer hostkeyalgs: [email protected],[email protected],[email protected],ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521\r\ndebug3: send packet: type 20\r\ndebug1: SSH2_MSG_KEXINIT sent\r\ndebug3: receive packet: type 20\r\ndebug1: SSH2_MSG_KEXINIT received\r\ndebug2: local client KEXINIT proposal\r\ndebug2: KEX algorithms: curve25519-sha256,[email protected],ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group14-sha256,diffie-hellman-group14-sha1,ext-info-c\r\ndebug2: host key algorithms: [email protected],[email protected],[email protected],ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,[email protected],[email protected],[email protected],[email protected],ssh-ed25519,rsa-sha2-512,rsa-sha2-256,ssh-rsa\r\ndebug2: ciphers ctos: [email protected],aes128-ctr,aes192-ctr,aes256-ctr,[email protected],[email protected]\r\ndebug2: ciphers stoc: [email protected],aes128-ctr,aes192-ctr,aes256-ctr,[email protected],[email protected]\r\ndebug2: MACs ctos: [email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],hmac-sha2-256,hmac-sha2-512,hmac-sha1\r\ndebug2: MACs stoc: [email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],hmac-sha2-256,hmac-sha2-512,hmac-sha1\r\ndebug2: compression ctos: none,[email protected],zlib\r\ndebug2: compression stoc: none,[email protected],zlib\r\ndebug2: languages ctos: \r\ndebug2: languages stoc: \r\ndebug2: first_kex_follows 0 \r\ndebug2: reserved 0 \r\ndebug2: peer server KEXINIT proposal\r\ndebug2: KEX algorithms: curve25519-sha256,[email protected],ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha256,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1\r\ndebug2: host key algorithms: ssh-rsa,rsa-sha2-512,rsa-sha2-256,ecdsa-sha2-nistp256,ssh-ed25519\r\ndebug2: ciphers ctos: [email protected],aes128-ctr,aes192-ctr,aes256-ctr,[email protected],[email protected],aes128-cbc,aes192-cbc,aes256-cbc,blowfish-cbc,cast128-cbc,3des-cbc\r\ndebug2: ciphers stoc: [email protected],aes128-ctr,aes192-ctr,aes256-ctr,[email protected],[email protected],aes128-cbc,aes192-cbc,aes256-cbc,blowfish-cbc,cast128-cbc,3des-cbc\r\ndebug2: MACs ctos: [email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],hmac-sha2-256,hmac-sha2-512,hmac-sha1\r\ndebug2: MACs stoc: [email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],hmac-sha2-256,hmac-sha2-512,hmac-sha1\r\ndebug2: compression ctos: none,[email protected]\r\ndebug2: compression stoc: none,[email protected]\r\ndebug2: languages ctos: \r\ndebug2: languages stoc: \r\ndebug2: first_kex_follows 0 \r\ndebug2: reserved 0 \r\ndebug1: kex: algorithm: curve25519-sha256\r\ndebug1: kex: host key algorithm: ecdsa-sha2-nistp256\r\ndebug1: kex: server->client cipher: [email protected] MAC: <implicit> compression: none\r\ndebug1: kex: client->server cipher: [email protected] MAC: <implicit> compression: none\r\ndebug3: send packet: type 30\r\ndebug1: expecting SSH2_MSG_KEX_ECDH_REPLY\r\ndebug3: receive packet: type 31\r\ndebug1: Server host key: ecdsa-sha2-nistp256 SHA256:AAdSciJWX3ObYybJDi5x4dqMbFLhZPxOx+JF6qyBe+4\r\ndebug3: hostkeys_foreach: reading file "/Users/ansibleuser/.ssh/known_hosts"\r\ndebug3: record_hostkey: found key type ECDSA in file /Users/ansibleuser/.ssh/known_hosts:227\r\ndebug3: load_hostkeys: loaded 1 keys from host1.company.com\r\ndebug3: hostkeys_foreach: reading file "/Users/ansibleuser/.ssh/known_hosts"\r\ndebug3: record_hostkey: found key type ECDSA in file /Users/ansibleuser/.ssh/known_hosts:307\r\ndebug3: load_hostkeys: loaded 1 keys from 34.220.1.72\r\ndebug1: Host \'host1.company.com\' is known and matches the ECDSA host key.\r\ndebug1: Found key in /Users/ansibleuser/.ssh/known_hosts:227\r\ndebug3: send packet: type 21\r\ndebug2: set_newkeys: mode 1\r\ndebug1: rekey out after 134217728 blocks\r\ndebug1: SSH2_MSG_NEWKEYS sent\r\ndebug1: expecting SSH2_MSG_NEWKEYS\r\ndebug3: receive packet: type 21\r\ndebug1: SSH2_MSG_NEWKEYS received\r\ndebug2: set_newkeys: mode 0\r\ndebug1: rekey in after 134217728 blocks\r\ndebug1: Will attempt key: /Users/ansibleuser/.ssh/id_rsa RSA SHA256:zfIcNwb57FqZP9pugwk0w2Nn67yIKAzU1xFWZGeer34 agent\r\ndebug1: Will attempt key: /Users/ansibleuser/.ssh/4_4_Enablement.pem RSA SHA256:wECN4DL/gwI+XWehJFnQpdKruBBP18Ou0BwcelSqXms agent\r\ndebug1: Will attempt key: /Users/ansibleuser/.ssh/BiQ-Pem-SE.pem RSA SHA256:BdVFQGgBorUc8VZ3VETep7mfVhU1vZLrSc2V9upzCZY agent\r\ndebug1: Will attempt key: /Users/ansibleuser/.ssh/GenericVM.pem RSA SHA256:Jdng3tVXTutYOk7xTfpaDTwkjQ2cTo+B1Umz3FCr6gg agent\r\ndebug1: Will attempt key: /Users/ansibleuser/.ssh/BiQ_Pem_SE.pem RSA SHA256:gT+8jyC5fZUlDsFRnOOzx5wihXD8VFBofyYeWLxcvOg agent\r\ndebug1: Will attempt key: /Users/ansibleuser/.ssh/Java_Lab.pem RSA SHA256:0bivZabBfiN/2f2BqfiZfCu9DOL8YKyy//IJ+hs/nls agent\r\ndebug1: Will attempt key: /Users/ansibleuser/.ssh/devops_level1_lab.pem RSA SHA256:taeGJ4amTq1T9hSq2/CNvvMl7/gqV2AoNaSZI79zohg agent\r\ndebug1: Will attempt key: /Users/ansibleuser/.ssh/id_dsa \r\ndebug1: Will attempt key: /Users/ansibleuser/.ssh/id_ecdsa \r\ndebug1: Will attempt key: /Users/ansibleuser/.ssh/id_ed25519 \r\ndebug1: Will attempt key: /Users/ansibleuser/.ssh/id_xmss \r\ndebug2: pubkey_prepare: done\r\ndebug3: send packet: type 5\r\ndebug3: receive packet: type 7\r\ndebug1: SSH2_MSG_EXT_INFO received\r\ndebug1: kex_input_ext_info: server-sig-algs=<rsa-sha2-256,rsa-sha2-512>\r\ndebug3: receive packet: type 6\r\ndebug2: service_accept: ssh-userauth\r\ndebug1: SSH2_MSG_SERVICE_ACCEPT received\r\ndebug3: send packet: type 50\r\ndebug3: receive packet: type 51\r\ndebug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic\r\ndebug3: start over, passed a different list publickey,gssapi-keyex,gssapi-with-mic\r\ndebug3: preferred gssapi-with-mic,gssapi-keyex,hostbased,publickey\r\ndebug3: authmethod_lookup gssapi-with-mic\r\ndebug3: remaining preferred: gssapi-keyex,hostbased,publickey\r\ndebug3: authmethod_lookup gssapi-keyex\r\ndebug3: remaining preferred: hostbased,publickey\r\ndebug2: Unrecognized authentication method name: gssapi-keyex\r\ndebug3: authmethod_lookup publickey\r\ndebug3: remaining preferred: ,publickey\r\ndebug3: authmethod_is_enabled publickey\r\ndebug1: Next authentication method: publickey\r\ndebug1: Offering public key: /Users/ansibleuser/.ssh/id_rsa RSA SHA256:zfIcNwb57FqZP9pugwk0w2Nn67yIKAzU1xFWZGeer34 agent\r\ndebug3: send packet: type 50\r\ndebug2: we sent a publickey packet, wait for reply\r\ndebug3: receive packet: type 51\r\ndebug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic\r\ndebug1: Offering public key: /Users/ansibleuser/.ssh/4_4_Enablement.pem RSA SHA256:wECN4DL/gwI+XWehJFnQpdKruBBP18Ou0BwcelSqXms agent\r\ndebug3: send packet: type 50\r\ndebug2: we sent a publickey packet, wait for reply\r\ndebug3: receive packet: type 51\r\ndebug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic\r\ndebug1: Offering public key: /Users/ansibleuser/.ssh/BiQ-Pem-SE.pem RSA SHA256:BdVFQGgBorUc8VZ3VETep7mfVhU1vZLrSc2V9upzCZY agent\r\ndebug3: send packet: type 50\r\ndebug2: we sent a publickey packet, wait for reply\r\ndebug3: receive packet: type 51\r\ndebug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic\r\ndebug1: Offering public key: /Users/ansibleuser/.ssh/GenericVM.pem RSA SHA256:Jdng3tVXTutYOk7xTfpaDTwkjQ2cTo+B1Umz3FCr6gg agent\r\ndebug3: send packet: type 50\r\ndebug2: we sent a publickey packet, wait for reply\r\ndebug3: receive packet: type 60\r\ndebug1: Server accepts key: /Users/ansibleuser/.ssh/GenericVM.pem RSA SHA256:Jdng3tVXTutYOk7xTfpaDTwkjQ2cTo+B1Umz3FCr6gg agent\r\ndebug3: sign_and_send_pubkey: RSA SHA256:Jdng3tVXTutYOk7xTfpaDTwkjQ2cTo+B1Umz3FCr6gg\r\ndebug3: sign_and_send_pubkey: signing using rsa-sha2-512\r\ndebug3: send packet: type 50\r\ndebug3: receive packet: type 52\r\ndebug1: Authentication succeeded (publickey).\r\nAuthenticated to host1.company.com ([34.220.1.72]:22).\r\ndebug2: fd 7 setting O_NONBLOCK\r\ndebug2: fd 8 setting O_NONBLOCK\r\ndebug1: channel 0: new [client-session]\r\ndebug3: ssh_session2_open: channel_new: 0\r\ndebug2: channel 0: send open\r\ndebug3: send packet: type 90\r\ndebug1: Requesting [email protected]\r\ndebug3: send packet: type 80\r\ndebug1: Entering interactive session.\r\ndebug1: pledge: network\r\ndebug3: receive packet: type 80\r\ndebug1: client_input_global_request: rtype [email protected] want_reply 0\r\ndebug3: receive packet: type 91\r\ndebug2: channel_input_open_confirmation: channel 0: callback start\r\ndebug1: Requesting authentication agent forwarding.\r\ndebug2: channel 0: request [email protected] confirm 0\r\ndebug3: send packet: type 98\r\ndebug2: fd 5 setting TCP_NODELAY\r\ndebug3: ssh_packet_set_tos: set IP_TOS 0x48\r\ndebug2: client_session2_setup: id 0\r\ndebug2: channel 0: request pty-req confirm 1\r\ndebug3: send packet: type 98\r\ndebug1: Sending environment.\r\ndebug3: Ignored env SHELL\r\ndebug3: Ignored env COLORTERM\r\ndebug3: Ignored env XPC_FLAGS\r\ndebug3: Ignored env TERM_PROGRAM_VERSION\r\ndebug3: Ignored env SSH_AUTH_SOCK\r\ndebug3: Ignored env GRADLE_HOME\r\ndebug3: Ignored env SPRINGBOOT_HOME\r\ndebug3: Ignored env SDKMAN_CANDIDATES_DIR\r\ndebug3: Ignored env PWD\r\ndebug3: Ignored env LOGNAME\r\ndebug3: Ignored env VSCODE_GIT_ASKPASS_NODE\r\ndebug3: Ignored env ANSIBLE_VAULT_PASSWORD_FILE\r\ndebug3: Ignored env HOME\r\ndebug1: Sending env LANG = en_US.UTF-8\r\ndebug2: channel 0: request env confirm 0\r\ndebug3: send packet: type 98\r\ndebug3: Ignored env SDKMAN_VERSION\r\ndebug3: Ignored env TMPDIR\r\ndebug3: Ignored env GIT_ASKPASS\r\ndebug3: Ignored env GROOVY_HOME\r\ndebug3: Ignored env TERM\r\ndebug3: Ignored env USER\r\ndebug3: Ignored env VSCODE_GIT_IPC_HANDLE\r\ndebug3: Ignored env MAVEN_HOME\r\ndebug3: Ignored env SDKMAN_DIR\r\ndebug3: Ignored env DISPLAY\r\ndebug3: Ignored env SHLVL\r\ndebug3: Ignored env SDKMAN_CANDIDATES_API\r\ndebug3: Ignored env XPC_SERVICE_NAME\r\ndebug3: Ignored env VSCODE_GIT_ASKPASS_MAIN\r\ndebug3: Ignored env PATH\r\ndebug3: Ignored env ORIGINAL_XDG_CURRENT_DESKTOP\r\ndebug3: Ignored env SDKMAN_PLATFORM\r\ndebug3: Ignored env VSCODEEXT_USER_AGENT\r\ndebug3: Ignored env __CF_USER_TEXT_ENCODING\r\ndebug3: Ignored env TERM_PROGRAM\r\ndebug3: Ignored env _\r\ndebug3: Ignored env __PYVENV_LAUNCHER__\r\ndebug1: Sending command: /bin/sh -c \'/usr/bin/python /home/redhat/.ansible/tmp/ansible-tmp-1592949683.653033-56163-168684408179301/AnsiballZ_synchronize.py && sleep 0\'\r\ndebug2: channel 0: request exec confirm 1\r\ndebug3: send packet: type 98\r\ndebug2: channel_input_open_confirmation: channel 0: callback done\r\ndebug2: channel 0: open confirm rwindow 0 rmax 32768\r\ndebug3: receive packet: type 99\r\ndebug2: channel_input_status_confirm: type 99 id 0\r\ndebug2: PTY allocation request accepted on channel 0\r\ndebug2: channel 0: rcvd adjust 2097152\r\ndebug3: receive packet: type 99\r\ndebug2: channel_input_status_confirm: type 99 id 0\r\ndebug2: exec request accepted on channel 0\r\ndebug3: receive packet: type 90\r\ndebug1: client_input_channel_open: ctype [email protected] rchan 2 win 65536 max 16384\r\ndebug2: fd 9 setting O_NONBLOCK\r\ndebug3: fd 9 is O_NONBLOCK\r\ndebug1: channel 1: new [authentication agent connection]\r\ndebug1: confirm [email protected]\r\ndebug3: send packet: type 91\r\ndebug3: receive packet: type 96\r\ndebug2: channel 1: rcvd eof\r\ndebug2: channel 1: output open -> drain\r\ndebug2: channel 1: obuf empty\r\ndebug2: channel 1: chan_shutdown_write (i0 o1 sock 9 wfd 9 efd -1 [closed])\r\ndebug2: channel 1: output drain -> closed\r\ndebug1: channel 1: FORCE input drain\r\ndebug2: channel 1: ibuf empty\r\ndebug2: channel 1: send eof\r\ndebug3: send packet: type 96\r\ndebug2: channel 1: input drain -> closed\r\ndebug2: channel 1: send close\r\ndebug3: send packet: type 97\r\ndebug3: channel 1: will not send data after close\r\ndebug3: receive packet: type 98\r\ndebug1: client_input_channel_req: channel 0 rtype exit-status reply 0\r\ndebug3: receive packet: type 98\r\ndebug1: client_input_channel_req: channel 0 rtype [email protected] reply 0\r\ndebug2: channel 0: rcvd eow\r\ndebug2: channel 0: chan_shutdown_read (i0 o0 sock -1 wfd 6 efd 8 [write])\r\ndebug2: channel 0: input open -> closed\r\ndebug3: receive packet: type 96\r\ndebug2: channel 0: rcvd eof\r\ndebug2: channel 0: output open -> drain\r\ndebug3: receive packet: type 97\r\ndebug2: channel 0: rcvd close\r\ndebug3: channel 0: will not send data after close\r\ndebug3: channel 1: will not send data after close\r\ndebug3: channel 0: will not send data after close\r\ndebug3: channel 1: will not send data after close\r\ndebug2: channel 0: obuf empty\r\ndebug2: channel 0: chan_shutdown_write (i3 o1 sock -1 wfd 7 efd 8 [write])\r\ndebug2: channel 0: output drain -> closed\r\ndebug2: channel 0: almost dead\r\ndebug2: channel 0: gc: notify user\r\ndebug2: channel 0: gc: user detached\r\ndebug2: channel 0: send close\r\ndebug3: send packet: type 97\r\ndebug2: channel 0: is dead\r\ndebug2: channel 0: garbage collecting\r\ndebug1: channel 0: free: client-session, nchannels 2\r\ndebug3: channel 0: status: The following connections are open:\r\n  #0 client-session (t4 r0 i3/0 o3/0 e[write]/0 fd -1/-1/8 sock -1 cc -1)\r\n  #1 authentication agent connection (t4 r2 i3/0 o3/0 e[closed]/0 fd 9/9/-1 sock 9 cc -1)\r\n\r\ndebug3: channel 1: will not send data after close\r\ndebug3: receive packet: type 97\r\ndebug2: channel 1: rcvd close\r\ndebug3: channel 1: will not send data after close\r\ndebug2: channel 1: is dead\r\ndebug2: channel 1: garbage collecting\r\ndebug1: channel 1: free: authentication agent connection, nchannels 1\r\ndebug3: channel 1: status: The following connections are open:\r\n  #1 authentication agent connection (t4 r2 i3/0 o3/0 e[closed]/0 fd 9/9/-1 sock 9 cc -1)\r\n\r\ndebug3: send packet: type 1\r\ndebug3: fd 1 is not O_NONBLOCK\r\ndebug1: fd 2 clearing O_NONBLOCK\r\nConnection to host1.company.com closed.\r\nTransferred: sent 6684, received 4560 bytes, in 0.7 seconds\r\nBytes per second: sent 9066.5, received 6185.4\r\ndebug1: Exit status 1\r\n')
<host1.company.com> Failed to connect to the host via ssh: OpenSSH_8.1p1, LibreSSL 2.7.3
debug1: Reading configuration data /Users/ansibleuser/.ssh/config
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 47: Applying options for *
debug2: resolving "host1.company.com" port 22
debug2: ssh_connect_direct
debug1: Connecting to host1.company.com [34.220.1.72] port 22.
debug2: fd 5 setting O_NONBLOCK
debug1: fd 5 clearing O_NONBLOCK
debug1: Connection established.
debug3: timeout: 9822 ms remain after connect
debug1: identity file /Users/ansibleuser/.ssh/id_rsa type 0
debug1: identity file /Users/ansibleuser/.ssh/id_rsa-cert type -1
debug1: identity file /Users/ansibleuser/.ssh/id_dsa type -1
debug1: identity file /Users/ansibleuser/.ssh/id_dsa-cert type -1
debug1: identity file /Users/ansibleuser/.ssh/id_ecdsa type -1
debug1: identity file /Users/ansibleuser/.ssh/id_ecdsa-cert type -1
debug1: identity file /Users/ansibleuser/.ssh/id_ed25519 type -1
debug1: identity file /Users/ansibleuser/.ssh/id_ed25519-cert type -1
debug1: identity file /Users/ansibleuser/.ssh/id_xmss type -1
debug1: identity file /Users/ansibleuser/.ssh/id_xmss-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_8.1
debug1: Remote protocol version 2.0, remote software version OpenSSH_7.4
debug1: match: OpenSSH_7.4 pat OpenSSH_7.0*,OpenSSH_7.1*,OpenSSH_7.2*,OpenSSH_7.3*,OpenSSH_7.4*,OpenSSH_7.5*,OpenSSH_7.6*,OpenSSH_7.7* compat 0x04000002
debug2: fd 5 setting O_NONBLOCK
debug1: Authenticating to host1.company.com:22 as 'redhat'
debug3: hostkeys_foreach: reading file "/Users/ansibleuser/.ssh/known_hosts"
debug3: record_hostkey: found key type ECDSA in file /Users/ansibleuser/.ssh/known_hosts:227
debug3: load_hostkeys: loaded 1 keys from host1.company.com
debug3: order_hostkeyalgs: prefer hostkeyalgs: [email protected],[email protected],[email protected],ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521
debug3: send packet: type 20
debug1: SSH2_MSG_KEXINIT sent
debug3: receive packet: type 20
debug1: SSH2_MSG_KEXINIT received
debug2: local client KEXINIT proposal
debug2: KEX algorithms: curve25519-sha256,[email protected],ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group14-sha256,diffie-hellman-group14-sha1,ext-info-c
debug2: host key algorithms: [email protected],[email protected],[email protected],ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,[email protected],[email protected],[email protected],[email protected],ssh-ed25519,rsa-sha2-512,rsa-sha2-256,ssh-rsa
debug2: ciphers ctos: [email protected],aes128-ctr,aes192-ctr,aes256-ctr,[email protected],[email protected]
debug2: ciphers stoc: [email protected],aes128-ctr,aes192-ctr,aes256-ctr,[email protected],[email protected]
debug2: MACs ctos: [email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],hmac-sha2-256,hmac-sha2-512,hmac-sha1
debug2: MACs stoc: [email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],hmac-sha2-256,hmac-sha2-512,hmac-sha1
debug2: compression ctos: none,[email protected],zlib
debug2: compression stoc: none,[email protected],zlib
debug2: languages ctos: 
debug2: languages stoc: 
debug2: first_kex_follows 0 
debug2: reserved 0 
debug2: peer server KEXINIT proposal
debug2: KEX algorithms: curve25519-sha256,[email protected],ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha256,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
debug2: host key algorithms: ssh-rsa,rsa-sha2-512,rsa-sha2-256,ecdsa-sha2-nistp256,ssh-ed25519
debug2: ciphers ctos: [email protected],aes128-ctr,aes192-ctr,aes256-ctr,[email protected],[email protected],aes128-cbc,aes192-cbc,aes256-cbc,blowfish-cbc,cast128-cbc,3des-cbc
debug2: ciphers stoc: [email protected],aes128-ctr,aes192-ctr,aes256-ctr,[email protected],[email protected],aes128-cbc,aes192-cbc,aes256-cbc,blowfish-cbc,cast128-cbc,3des-cbc
debug2: MACs ctos: [email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],hmac-sha2-256,hmac-sha2-512,hmac-sha1
debug2: MACs stoc: [email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],hmac-sha2-256,hmac-sha2-512,hmac-sha1
debug2: compression ctos: none,[email protected]
debug2: compression stoc: none,[email protected]
debug2: languages ctos: 
debug2: languages stoc: 
debug2: first_kex_follows 0 
debug2: reserved 0 
debug1: kex: algorithm: curve25519-sha256
debug1: kex: host key algorithm: ecdsa-sha2-nistp256
debug1: kex: server->client cipher: [email protected] MAC: <implicit> compression: none
debug1: kex: client->server cipher: [email protected] MAC: <implicit> compression: none
debug3: send packet: type 30
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
debug3: receive packet: type 31
debug1: Server host key: ecdsa-sha2-nistp256 SHA256:AAdSciJWX3ObYybJDi5x4dqMbFLhZPxOx+JF6qyBe+4
debug3: hostkeys_foreach: reading file "/Users/ansibleuser/.ssh/known_hosts"
debug3: record_hostkey: found key type ECDSA in file /Users/ansibleuser/.ssh/known_hosts:227
debug3: load_hostkeys: loaded 1 keys from host1.company.com
debug3: hostkeys_foreach: reading file "/Users/ansibleuser/.ssh/known_hosts"
debug3: record_hostkey: found key type ECDSA in file /Users/ansibleuser/.ssh/known_hosts:307
debug3: load_hostkeys: loaded 1 keys from 34.220.1.72
debug1: Host 'host1.company.com' is known and matches the ECDSA host key.
debug1: Found key in /Users/ansibleuser/.ssh/known_hosts:227
debug3: send packet: type 21
debug2: set_newkeys: mode 1
debug1: rekey out after 134217728 blocks
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug3: receive packet: type 21
debug1: SSH2_MSG_NEWKEYS received
debug2: set_newkeys: mode 0
debug1: rekey in after 134217728 blocks
debug1: Will attempt key: /Users/ansibleuser/.ssh/id_rsa RSA SHA256:zfIcNwb57FqZP9pugwk0w2Nn67yIKAzU1xFWZGeer34 agent
debug1: Will attempt key: /Users/ansibleuser/.ssh/4_4_Enablement.pem RSA SHA256:wECN4DL/gwI+XWehJFnQpdKruBBP18Ou0BwcelSqXms agent
debug1: Will attempt key: /Users/ansibleuser/.ssh/BiQ-Pem-SE.pem RSA SHA256:BdVFQGgBorUc8VZ3VETep7mfVhU1vZLrSc2V9upzCZY agent
debug1: Will attempt key: /Users/ansibleuser/.ssh/GenericVM.pem RSA SHA256:Jdng3tVXTutYOk7xTfpaDTwkjQ2cTo+B1Umz3FCr6gg agent
debug1: Will attempt key: /Users/ansibleuser/.ssh/BiQ_Pem_SE.pem RSA SHA256:gT+8jyC5fZUlDsFRnOOzx5wihXD8VFBofyYeWLxcvOg agent
debug1: Will attempt key: /Users/ansibleuser/.ssh/Java_Lab.pem RSA SHA256:0bivZabBfiN/2f2BqfiZfCu9DOL8YKyy//IJ+hs/nls agent
debug1: Will attempt key: /Users/ansibleuser/.ssh/devops_level1_lab.pem RSA SHA256:taeGJ4amTq1T9hSq2/CNvvMl7/gqV2AoNaSZI79zohg agent
debug1: Will attempt key: /Users/ansibleuser/.ssh/id_dsa 
debug1: Will attempt key: /Users/ansibleuser/.ssh/id_ecdsa 
debug1: Will attempt key: /Users/ansibleuser/.ssh/id_ed25519 
debug1: Will attempt key: /Users/ansibleuser/.ssh/id_xmss 
debug2: pubkey_prepare: done
debug3: send packet: type 5
debug3: receive packet: type 7
debug1: SSH2_MSG_EXT_INFO received
debug1: kex_input_ext_info: server-sig-algs=<rsa-sha2-256,rsa-sha2-512>
debug3: receive packet: type 6
debug2: service_accept: ssh-userauth
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug3: send packet: type 50
debug3: receive packet: type 51
debug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic
debug3: start over, passed a different list publickey,gssapi-keyex,gssapi-with-mic
debug3: preferred gssapi-with-mic,gssapi-keyex,hostbased,publickey
debug3: authmethod_lookup gssapi-with-mic
debug3: remaining preferred: gssapi-keyex,hostbased,publickey
debug3: authmethod_lookup gssapi-keyex
debug3: remaining preferred: hostbased,publickey
debug2: Unrecognized authentication method name: gssapi-keyex
debug3: authmethod_lookup publickey
debug3: remaining preferred: ,publickey
debug3: authmethod_is_enabled publickey
debug1: Next authentication method: publickey
debug1: Offering public key: /Users/ansibleuser/.ssh/id_rsa RSA SHA256:zfIcNwb57FqZP9pugwk0w2Nn67yIKAzU1xFWZGeer34 agent
debug3: send packet: type 50
debug2: we sent a publickey packet, wait for reply
debug3: receive packet: type 51
debug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic
debug1: Offering public key: /Users/ansibleuser/.ssh/sys1.pem RSA SHA256:wECN4DL/gwI+XWehJFnQpdKruBBP18Ou0BwcelSqXms agent
debug3: send packet: type 50
debug2: we sent a publickey packet, wait for reply
debug3: receive packet: type 51
debug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic
debug1: Offering public key: /Users/ansibleuser/.ssh/sys2.pem RSA SHA256:BdVFQGgBorUc8VZ3VETep7mfVhU1vZLrSc2V9upzCZY agent
debug3: send packet: type 50
debug2: we sent a publickey packet, wait for reply
debug3: receive packet: type 51
debug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic
debug1: Offering public key: /Users/ansibleuser/.ssh/sys3.pem RSA SHA256:Jdng3tVXTutYOk7xTfpaDTwkjQ2cTo+B1Umz3FCr6gg agent
debug3: send packet: type 50
debug2: we sent a publickey packet, wait for reply
debug3: receive packet: type 60
debug1: Server accepts key: /Users/ansibleuser/.ssh/sys3.pem RSA SHA256:Jdng3tVXTutYOk7xTfpaDTwkjQ2cTo+B1Umz3FCr6gg agent
debug3: sign_and_send_pubkey: RSA SHA256:Jdng3tVXTutYOk7xTfpaDTwkjQ2cTo+B1Umz3FCr6gg
debug3: sign_and_send_pubkey: signing using rsa-sha2-512
debug3: send packet: type 50
debug3: receive packet: type 52
debug1: Authentication succeeded (publickey).
Authenticated to host1.company.com ([34.220.1.72]:22).
debug2: fd 7 setting O_NONBLOCK
debug2: fd 8 setting O_NONBLOCK
debug1: channel 0: new [client-session]
debug3: ssh_session2_open: channel_new: 0
debug2: channel 0: send open
debug3: send packet: type 90
debug1: Requesting [email protected]
debug3: send packet: type 80
debug1: Entering interactive session.
debug1: pledge: network
debug3: receive packet: type 80
debug1: client_input_global_request: rtype [email protected] want_reply 0
debug3: receive packet: type 91
debug2: channel_input_open_confirmation: channel 0: callback start
debug1: Requesting authentication agent forwarding.
debug2: channel 0: request [email protected] confirm 0
debug3: send packet: type 98
debug2: fd 5 setting TCP_NODELAY
debug3: ssh_packet_set_tos: set IP_TOS 0x48
debug2: client_session2_setup: id 0
debug2: channel 0: request pty-req confirm 1
debug3: send packet: type 98
debug1: Sending environment.
debug3: Ignored env SHELL
debug3: Ignored env COLORTERM
debug3: Ignored env XPC_FLAGS
debug3: Ignored env TERM_PROGRAM_VERSION
debug3: Ignored env SSH_AUTH_SOCK
debug3: Ignored env GRADLE_HOME
debug3: Ignored env SPRINGBOOT_HOME
debug3: Ignored env SDKMAN_CANDIDATES_DIR
debug3: Ignored env PWD
debug3: Ignored env LOGNAME
debug3: Ignored env VSCODE_GIT_ASKPASS_NODE
debug3: Ignored env ANSIBLE_VAULT_PASSWORD_FILE
debug3: Ignored env HOME
debug1: Sending env LANG = en_US.UTF-8
debug2: channel 0: request env confirm 0
debug3: send packet: type 98
debug3: Ignored env SDKMAN_VERSION
debug3: Ignored env TMPDIR
debug3: Ignored env GIT_ASKPASS
debug3: Ignored env GROOVY_HOME
debug3: Ignored env TERM
debug3: Ignored env USER
debug3: Ignored env VSCODE_GIT_IPC_HANDLE
debug3: Ignored env MAVEN_HOME
debug3: Ignored env SDKMAN_DIR
debug3: Ignored env DISPLAY
debug3: Ignored env SHLVL
debug3: Ignored env SDKMAN_CANDIDATES_API
debug3: Ignored env XPC_SERVICE_NAME
debug3: Ignored env VSCODE_GIT_ASKPASS_MAIN
debug3: Ignored env PATH
debug3: Ignored env ORIGINAL_XDG_CURRENT_DESKTOP
debug3: Ignored env SDKMAN_PLATFORM
debug3: Ignored env VSCODEEXT_USER_AGENT
debug3: Ignored env __CF_USER_TEXT_ENCODING
debug3: Ignored env TERM_PROGRAM
debug3: Ignored env _
debug3: Ignored env __PYVENV_LAUNCHER__
debug1: Sending command: /bin/sh -c '/usr/bin/python /home/redhat/.ansible/tmp/ansible-tmp-1592949683.653033-56163-168684408179301/AnsiballZ_synchronize.py && sleep 0'
debug2: channel 0: request exec confirm 1
debug3: send packet: type 98
debug2: channel_input_open_confirmation: channel 0: callback done
debug2: channel 0: open confirm rwindow 0 rmax 32768
debug3: receive packet: type 99
debug2: channel_input_status_confirm: type 99 id 0
debug2: PTY allocation request accepted on channel 0
debug2: channel 0: rcvd adjust 2097152
debug3: receive packet: type 99
debug2: channel_input_status_confirm: type 99 id 0
debug2: exec request accepted on channel 0
debug3: receive packet: type 90
debug1: client_input_channel_open: ctype [email protected] rchan 2 win 65536 max 16384
debug2: fd 9 setting O_NONBLOCK
debug3: fd 9 is O_NONBLOCK
debug1: channel 1: new [authentication agent connection]
debug1: confirm [email protected]
debug3: send packet: type 91
debug3: receive packet: type 96
debug2: channel 1: rcvd eof
debug2: channel 1: output open -> drain
debug2: channel 1: obuf empty
debug2: channel 1: chan_shutdown_write (i0 o1 sock 9 wfd 9 efd -1 [closed])
debug2: channel 1: output drain -> closed
debug1: channel 1: FORCE input drain
debug2: channel 1: ibuf empty
debug2: channel 1: send eof
debug3: send packet: type 96
debug2: channel 1: input drain -> closed
debug2: channel 1: send close
debug3: send packet: type 97
debug3: channel 1: will not send data after close
debug3: receive packet: type 98
debug1: client_input_channel_req: channel 0 rtype exit-status reply 0
debug3: receive packet: type 98
debug1: client_input_channel_req: channel 0 rtype [email protected] reply 0
debug2: channel 0: rcvd eow
debug2: channel 0: chan_shutdown_read (i0 o0 sock -1 wfd 6 efd 8 [write])
debug2: channel 0: input open -> closed
debug3: receive packet: type 96
debug2: channel 0: rcvd eof
debug2: channel 0: output open -> drain
debug3: receive packet: type 97
debug2: channel 0: rcvd close
debug3: channel 0: will not send data after close
debug3: channel 1: will not send data after close
debug3: channel 0: will not send data after close
debug3: channel 1: will not send data after close
debug2: channel 0: obuf empty
debug2: channel 0: chan_shutdown_write (i3 o1 sock -1 wfd 7 efd 8 [write])
debug2: channel 0: output drain -> closed
debug2: channel 0: almost dead
debug2: channel 0: gc: notify user
debug2: channel 0: gc: user detached
debug2: channel 0: send close
debug3: send packet: type 97
debug2: channel 0: is dead
debug2: channel 0: garbage collecting
debug1: channel 0: free: client-session, nchannels 2
debug3: channel 0: status: The following connections are open:
  #0 client-session (t4 r0 i3/0 o3/0 e[write]/0 fd -1/-1/8 sock -1 cc -1)
  #1 authentication agent connection (t4 r2 i3/0 o3/0 e[closed]/0 fd 9/9/-1 sock 9 cc -1)

debug3: channel 1: will not send data after close
debug3: receive packet: type 97
debug2: channel 1: rcvd close
debug3: channel 1: will not send data after close
debug2: channel 1: is dead
debug2: channel 1: garbage collecting
debug1: channel 1: free: authentication agent connection, nchannels 1
debug3: channel 1: status: The following connections are open:
  #1 authentication agent connection (t4 r2 i3/0 o3/0 e[closed]/0 fd 9/9/-1 sock 9 cc -1)

debug3: send packet: type 1
debug3: fd 1 is not O_NONBLOCK
debug1: fd 2 clearing O_NONBLOCK
Connection to host1.company.com closed.
Transferred: sent 6684, received 4560 bytes, in 0.7 seconds
Bytes per second: sent 9066.5, received 6185.4
debug1: Exit status 1
<host1.company.com> ESTABLISH SSH CONNECTION FOR USER: redhat
<host1.company.com> SSH: EXEC ssh -vvv -o ForwardAgent=yes -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="redhat"' -o ConnectTimeout=10 host1.company.com '/bin/sh -c '"'"'rm -f -r /home/redhat/.ansible/tmp/ansible-tmp-1592949683.653033-56163-168684408179301/ > /dev/null 2>&1 && sleep 0'"'"''
<host1.company.com> (0, b'', b'OpenSSH_8.1p1, LibreSSL 2.7.3\r\ndebug1: Reading configuration data /Users/ansibleuser/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 47: Applying options for *\r\ndebug2: resolving "host1.company.com" port 22\r\ndebug2: ssh_connect_direct\r\ndebug1: Connecting to host1.company.com [34.220.1.72] port 22.\r\ndebug2: fd 5 setting O_NONBLOCK\r\ndebug1: fd 5 clearing O_NONBLOCK\r\ndebug1: Connection established.\r\ndebug3: timeout: 9821 ms remain after connect\r\ndebug1: identity file /Users/ansibleuser/.ssh/id_rsa type 0\r\ndebug1: identity file /Users/ansibleuser/.ssh/id_rsa-cert type -1\r\ndebug1: identity file /Users/ansibleuser/.ssh/id_dsa type -1\r\ndebug1: identity file /Users/ansibleuser/.ssh/id_dsa-cert type -1\r\ndebug1: identity file /Users/ansibleuser/.ssh/id_ecdsa type -1\r\ndebug1: identity file /Users/ansibleuser/.ssh/id_ecdsa-cert type -1\r\ndebug1: identity file /Users/ansibleuser/.ssh/id_ed25519 type -1\r\ndebug1: identity file /Users/ansibleuser/.ssh/id_ed25519-cert type -1\r\ndebug1: identity file /Users/ansibleuser/.ssh/id_xmss type -1\r\ndebug1: identity file /Users/ansibleuser/.ssh/id_xmss-cert type -1\r\ndebug1: Local version string SSH-2.0-OpenSSH_8.1\r\ndebug1: Remote protocol version 2.0, remote software version OpenSSH_7.4\r\ndebug1: match: OpenSSH_7.4 pat OpenSSH_7.0*,OpenSSH_7.1*,OpenSSH_7.2*,OpenSSH_7.3*,OpenSSH_7.4*,OpenSSH_7.5*,OpenSSH_7.6*,OpenSSH_7.7* compat 0x04000002\r\ndebug2: fd 5 setting O_NONBLOCK\r\ndebug1: Authenticating to host1.company.com:22 as \'redhat\'\r\ndebug3: hostkeys_foreach: reading file "/Users/ansibleuser/.ssh/known_hosts"\r\ndebug3: record_hostkey: found key type ECDSA in file /Users/ansibleuser/.ssh/known_hosts:227\r\ndebug3: load_hostkeys: loaded 1 keys from host1.company.com\r\ndebug3: order_hostkeyalgs: prefer hostkeyalgs: [email protected],[email protected],[email protected],ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521\r\ndebug3: send packet: type 20\r\ndebug1: SSH2_MSG_KEXINIT sent\r\ndebug3: receive packet: type 20\r\ndebug1: SSH2_MSG_KEXINIT received\r\ndebug2: local client KEXINIT proposal\r\ndebug2: KEX algorithms: curve25519-sha256,[email protected],ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group14-sha256,diffie-hellman-group14-sha1,ext-info-c\r\ndebug2: host key algorithms: [email protected],[email protected],[email protected],ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,[email protected],[email protected],[email protected],[email protected],ssh-ed25519,rsa-sha2-512,rsa-sha2-256,ssh-rsa\r\ndebug2: ciphers ctos: [email protected],aes128-ctr,aes192-ctr,aes256-ctr,[email protected],[email protected]\r\ndebug2: ciphers stoc: [email protected],aes128-ctr,aes192-ctr,aes256-ctr,[email protected],[email protected]\r\ndebug2: MACs ctos: [email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],hmac-sha2-256,hmac-sha2-512,hmac-sha1\r\ndebug2: MACs stoc: [email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],hmac-sha2-256,hmac-sha2-512,hmac-sha1\r\ndebug2: compression ctos: none,[email protected],zlib\r\ndebug2: compression stoc: none,[email protected],zlib\r\ndebug2: languages ctos: \r\ndebug2: languages stoc: \r\ndebug2: first_kex_follows 0 \r\ndebug2: reserved 0 \r\ndebug2: peer server KEXINIT proposal\r\ndebug2: KEX algorithms: curve25519-sha256,[email protected],ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha256,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1\r\ndebug2: host key algorithms: ssh-rsa,rsa-sha2-512,rsa-sha2-256,ecdsa-sha2-nistp256,ssh-ed25519\r\ndebug2: ciphers ctos: [email protected],aes128-ctr,aes192-ctr,aes256-ctr,[email protected],[email protected],aes128-cbc,aes192-cbc,aes256-cbc,blowfish-cbc,cast128-cbc,3des-cbc\r\ndebug2: ciphers stoc: [email protected],aes128-ctr,aes192-ctr,aes256-ctr,[email protected],[email protected],aes128-cbc,aes192-cbc,aes256-cbc,blowfish-cbc,cast128-cbc,3des-cbc\r\ndebug2: MACs ctos: [email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],hmac-sha2-256,hmac-sha2-512,hmac-sha1\r\ndebug2: MACs stoc: [email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],hmac-sha2-256,hmac-sha2-512,hmac-sha1\r\ndebug2: compression ctos: none,[email protected]\r\ndebug2: compression stoc: none,[email protected]\r\ndebug2: languages ctos: \r\ndebug2: languages stoc: \r\ndebug2: first_kex_follows 0 \r\ndebug2: reserved 0 \r\ndebug1: kex: algorithm: curve25519-sha256\r\ndebug1: kex: host key algorithm: ecdsa-sha2-nistp256\r\ndebug1: kex: server->client cipher: [email protected] MAC: <implicit> compression: none\r\ndebug1: kex: client->server cipher: [email protected] MAC: <implicit> compression: none\r\ndebug3: send packet: type 30\r\ndebug1: expecting SSH2_MSG_KEX_ECDH_REPLY\r\ndebug3: receive packet: type 31\r\ndebug1: Server host key: ecdsa-sha2-nistp256 SHA256:AAdSciJWX3ObYybJDi5x4dqMbFLhZPxOx+JF6qyBe+4\r\ndebug3: hostkeys_foreach: reading file "/Users/ansibleuser/.ssh/known_hosts"\r\ndebug3: record_hostkey: found key type ECDSA in file /Users/ansibleuser/.ssh/known_hosts:227\r\ndebug3: load_hostkeys: loaded 1 keys from host1.company.com\r\ndebug3: hostkeys_foreach: reading file "/Users/ansibleuser/.ssh/known_hosts"\r\ndebug3: record_hostkey: found key type ECDSA in file /Users/ansibleuser/.ssh/known_hosts:307\r\ndebug3: load_hostkeys: loaded 1 keys from 34.220.1.72\r\ndebug1: Host \'host1.company.com\' is known and matches the ECDSA host key.\r\ndebug1: Found key in /Users/ansibleuser/.ssh/known_hosts:227\r\ndebug3: send packet: type 21\r\ndebug2: set_newkeys: mode 1\r\ndebug1: rekey out after 134217728 blocks\r\ndebug1: SSH2_MSG_NEWKEYS sent\r\ndebug1: expecting SSH2_MSG_NEWKEYS\r\ndebug3: receive packet: type 21\r\ndebug1: SSH2_MSG_NEWKEYS received\r\ndebug2: set_newkeys: mode 0\r\ndebug1: rekey in after 134217728 blocks\r\ndebug1: Will attempt key: /Users/ansibleuser/.ssh/id_rsa RSA SHA256:zfIcNwb57FqZP9pugwk0w2Nn67yIKAzU1xFWZGeer34 agent\r\ndebug1: Will attempt key: /Users/ansibleuser/.ssh/4_4_Enablement.pem RSA SHA256:wECN4DL/gwI+XWehJFnQpdKruBBP18Ou0BwcelSqXms agent\r\ndebug1: Will attempt key: /Users/ansibleuser/.ssh/BiQ-Pem-SE.pem RSA SHA256:BdVFQGgBorUc8VZ3VETep7mfVhU1vZLrSc2V9upzCZY agent\r\ndebug1: Will attempt key: /Users/ansibleuser/.ssh/GenericVM.pem RSA SHA256:Jdng3tVXTutYOk7xTfpaDTwkjQ2cTo+B1Umz3FCr6gg agent\r\ndebug1: Will attempt key: /Users/ansibleuser/.ssh/BiQ_Pem_SE.pem RSA SHA256:gT+8jyC5fZUlDsFRnOOzx5wihXD8VFBofyYeWLxcvOg agent\r\ndebug1: Will attempt key: /Users/ansibleuser/.ssh/Java_Lab.pem RSA SHA256:0bivZabBfiN/2f2BqfiZfCu9DOL8YKyy//IJ+hs/nls agent\r\ndebug1: Will attempt key: /Users/ansibleuser/.ssh/devops_level1_lab.pem RSA SHA256:taeGJ4amTq1T9hSq2/CNvvMl7/gqV2AoNaSZI79zohg agent\r\ndebug1: Will attempt key: /Users/ansibleuser/.ssh/id_dsa \r\ndebug1: Will attempt key: /Users/ansibleuser/.ssh/id_ecdsa \r\ndebug1: Will attempt key: /Users/ansibleuser/.ssh/id_ed25519 \r\ndebug1: Will attempt key: /Users/ansibleuser/.ssh/id_xmss \r\ndebug2: pubkey_prepare: done\r\ndebug3: send packet: type 5\r\ndebug3: receive packet: type 7\r\ndebug1: SSH2_MSG_EXT_INFO received\r\ndebug1: kex_input_ext_info: server-sig-algs=<rsa-sha2-256,rsa-sha2-512>\r\ndebug3: receive packet: type 6\r\ndebug2: service_accept: ssh-userauth\r\ndebug1: SSH2_MSG_SERVICE_ACCEPT received\r\ndebug3: send packet: type 50\r\ndebug3: receive packet: type 51\r\ndebug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic\r\ndebug3: start over, passed a different list publickey,gssapi-keyex,gssapi-with-mic\r\ndebug3: preferred gssapi-with-mic,gssapi-keyex,hostbased,publickey\r\ndebug3: authmethod_lookup gssapi-with-mic\r\ndebug3: remaining preferred: gssapi-keyex,hostbased,publickey\r\ndebug3: authmethod_lookup gssapi-keyex\r\ndebug3: remaining preferred: hostbased,publickey\r\ndebug2: Unrecognized authentication method name: gssapi-keyex\r\ndebug3: authmethod_lookup publickey\r\ndebug3: remaining preferred: ,publickey\r\ndebug3: authmethod_is_enabled publickey\r\ndebug1: Next authentication method: publickey\r\ndebug1: Offering public key: /Users/ansibleuser/.ssh/id_rsa RSA SHA256:zfIcNwb57FqZP9pugwk0w2Nn67yIKAzU1xFWZGeer34 agent\r\ndebug3: send packet: type 50\r\ndebug2: we sent a publickey packet, wait for reply\r\ndebug3: receive packet: type 51\r\ndebug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic\r\ndebug1: Offering public key: /Users/ansibleuser/.ssh/4_4_Enablement.pem RSA SHA256:wECN4DL/gwI+XWehJFnQpdKruBBP18Ou0BwcelSqXms agent\r\ndebug3: send packet: type 50\r\ndebug2: we sent a publickey packet, wait for reply\r\ndebug3: receive packet: type 51\r\ndebug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic\r\ndebug1: Offering public key: /Users/ansibleuser/.ssh/BiQ-Pem-SE.pem RSA SHA256:BdVFQGgBorUc8VZ3VETep7mfVhU1vZLrSc2V9upzCZY agent\r\ndebug3: send packet: type 50\r\ndebug2: we sent a publickey packet, wait for reply\r\ndebug3: receive packet: type 51\r\ndebug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic\r\ndebug1: Offering public key: /Users/ansibleuser/.ssh/GenericVM.pem RSA SHA256:Jdng3tVXTutYOk7xTfpaDTwkjQ2cTo+B1Umz3FCr6gg agent\r\ndebug3: send packet: type 50\r\ndebug2: we sent a publickey packet, wait for reply\r\ndebug3: receive packet: type 60\r\ndebug1: Server accepts key: /Users/ansibleuser/.ssh/GenericVM.pem RSA SHA256:Jdng3tVXTutYOk7xTfpaDTwkjQ2cTo+B1Umz3FCr6gg agent\r\ndebug3: sign_and_send_pubkey: RSA SHA256:Jdng3tVXTutYOk7xTfpaDTwkjQ2cTo+B1Umz3FCr6gg\r\ndebug3: sign_and_send_pubkey: signing using rsa-sha2-512\r\ndebug3: send packet: type 50\r\ndebug3: receive packet: type 52\r\ndebug1: Authentication succeeded (publickey).\r\nAuthenticated to host1.company.com ([34.220.1.72]:22).\r\ndebug2: fd 7 setting O_NONBLOCK\r\ndebug2: fd 8 setting O_NONBLOCK\r\ndebug1: channel 0: new [client-session]\r\ndebug3: ssh_session2_open: channel_new: 0\r\ndebug2: channel 0: send open\r\ndebug3: send packet: type 90\r\ndebug1: Requesting [email protected]\r\ndebug3: send packet: type 80\r\ndebug1: Entering interactive session.\r\ndebug1: pledge: network\r\ndebug3: receive packet: type 80\r\ndebug1: client_input_global_request: rtype [email protected] want_reply 0\r\ndebug3: receive packet: type 91\r\ndebug2: channel_input_open_confirmation: channel 0: callback start\r\ndebug1: Requesting authentication agent forwarding.\r\ndebug2: channel 0: request [email protected] confirm 0\r\ndebug3: send packet: type 98\r\ndebug2: fd 5 setting TCP_NODELAY\r\ndebug3: ssh_packet_set_tos: set IP_TOS 0x20\r\ndebug2: client_session2_setup: id 0\r\ndebug1: Sending environment.\r\ndebug3: Ignored env SHELL\r\ndebug3: Ignored env COLORTERM\r\ndebug3: Ignored env XPC_FLAGS\r\ndebug3: Ignored env TERM_PROGRAM_VERSION\r\ndebug3: Ignored env SSH_AUTH_SOCK\r\ndebug3: Ignored env GRADLE_HOME\r\ndebug3: Ignored env SPRINGBOOT_HOME\r\ndebug3: Ignored env SDKMAN_CANDIDATES_DIR\r\ndebug3: Ignored env PWD\r\ndebug3: Ignored env LOGNAME\r\ndebug3: Ignored env VSCODE_GIT_ASKPASS_NODE\r\ndebug3: Ignored env ANSIBLE_VAULT_PASSWORD_FILE\r\ndebug3: Ignored env HOME\r\ndebug1: Sending env LANG = en_US.UTF-8\r\ndebug2: channel 0: request env confirm 0\r\ndebug3: send packet: type 98\r\ndebug3: Ignored env SDKMAN_VERSION\r\ndebug3: Ignored env TMPDIR\r\ndebug3: Ignored env GIT_ASKPASS\r\ndebug3: Ignored env GROOVY_HOME\r\ndebug3: Ignored env TERM\r\ndebug3: Ignored env USER\r\ndebug3: Ignored env VSCODE_GIT_IPC_HANDLE\r\ndebug3: Ignored env MAVEN_HOME\r\ndebug3: Ignored env SDKMAN_DIR\r\ndebug3: Ignored env DISPLAY\r\ndebug3: Ignored env SHLVL\r\ndebug3: Ignored env SDKMAN_CANDIDATES_API\r\ndebug3: Ignored env XPC_SERVICE_NAME\r\ndebug3: Ignored env VSCODE_GIT_ASKPASS_MAIN\r\ndebug3: Ignored env PATH\r\ndebug3: Ignored env ORIGINAL_XDG_CURRENT_DESKTOP\r\ndebug3: Ignored env SDKMAN_PLATFORM\r\ndebug3: Ignored env VSCODEEXT_USER_AGENT\r\ndebug3: Ignored env __CF_USER_TEXT_ENCODING\r\ndebug3: Ignored env TERM_PROGRAM\r\ndebug3: Ignored env _\r\ndebug3: Ignored env __PYVENV_LAUNCHER__\r\ndebug1: Sending command: /bin/sh -c \'rm -f -r /home/redhat/.ansible/tmp/ansible-tmp-1592949683.653033-56163-168684408179301/ > /dev/null 2>&1 && sleep 0\'\r\ndebug2: channel 0: request exec confirm 1\r\ndebug3: send packet: type 98\r\ndebug2: channel_input_open_confirmation: channel 0: callback done\r\ndebug2: channel 0: open confirm rwindow 0 rmax 32768\r\ndebug2: channel 0: rcvd adjust 2097152\r\ndebug3: receive packet: type 99\r\ndebug2: channel_input_status_confirm: type 99 id 0\r\ndebug2: exec request accepted on channel 0\r\ndebug3: receive packet: type 98\r\ndebug1: client_input_channel_req: channel 0 rtype exit-status reply 0\r\ndebug3: receive packet: type 98\r\ndebug1: client_input_channel_req: channel 0 rtype [email protected] reply 0\r\ndebug2: channel 0: rcvd eow\r\ndebug2: channel 0: chan_shutdown_read (i0 o0 sock -1 wfd 6 efd 8 [write])\r\ndebug2: channel 0: input open -> closed\r\ndebug3: receive packet: type 96\r\ndebug2: channel 0: rcvd eof\r\ndebug2: channel 0: output open -> drain\r\ndebug2: channel 0: obuf empty\r\ndebug2: channel 0: chan_shutdown_write (i3 o1 sock -1 wfd 7 efd 8 [write])\r\ndebug2: channel 0: output drain -> closed\r\ndebug3: receive packet: type 97\r\ndebug2: channel 0: rcvd close\r\ndebug3: channel 0: will not send data after close\r\ndebug2: channel 0: almost dead\r\ndebug2: channel 0: gc: notify user\r\ndebug2: channel 0: gc: user detached\r\ndebug2: channel 0: send close\r\ndebug3: send packet: type 97\r\ndebug2: channel 0: is dead\r\ndebug2: channel 0: garbage collecting\r\ndebug1: channel 0: free: client-session, nchannels 1\r\ndebug3: channel 0: status: The following connections are open:\r\n  #0 client-session (t4 r0 i3/0 o3/0 e[write]/0 fd -1/-1/8 sock -1 cc -1)\r\n\r\ndebug3: send packet: type 1\r\ndebug3: fd 1 is not O_NONBLOCK\r\ndebug1: fd 2 clearing O_NONBLOCK\r\nTransferred: sent 4008, received 2888 bytes, in 0.7 seconds\r\nBytes per second: sent 6087.1, received 4386.1\r\ndebug1: Exit status 0\r\n')
fatal: [controller -> host1.company.com]: FAILED! => {
    "changed": false,
    "cmd": "/usr/bin/rsync --delay-updates -F --compress --archive --rsh=/usr/bin/ssh -S none -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o ForwardAgent=yes --out-format=<<CHANGED>>%i %n%L /opt/appdynamics/appd-cluster-connector-20200623220055.tgz [email protected]:/tmp/appd-cluster-connector.tgz",
    "invocation": {
        "module_args": {
            "_local_rsync_password": null,
            "_local_rsync_path": "rsync",
            "_substitute_controller": false,
            "archive": true,
            "checksum": false,
            "compress": true,
            "copy_links": false,
            "delete": false,
            "dest": "[email protected]:/tmp/somefile.tar.gz",
            "dest_port": null,
            "dirs": false,
            "existing_only": false,
            "group": null,
            "link_dest": null,
            "links": null,
            "mode": "push",
            "owner": null,
            "partial": false,
            "perms": null,
            "private_key": null,
            "recursive": null,
            "rsync_opts": [],
            "rsync_path": null,
            "rsync_timeout": 0,
            "set_remote_user": true,
            "src": "/some/directory/somefile.tar.gz",
            "ssh_args": "-o ForwardAgent=yes",
            "times": null,
            "verify_host": false
        }
    },
    "msg": "Warning: Permanently added 'host2.company.com,IP-REDACTED' (ECDSA) to the list of known hosts.\r\nReceived disconnect from IP-REDACTED port 22:2: Too many authentication failures\r\nAuthentication failed.\r\nrsync: connection unexpectedly closed (0 bytes received so far) [sender]\nrsync error: unexplained error (code 255) at io.c(226) [sender=3.1.2]\n",
    "rc": 255
}

PLAY RECAP *******************************************************************************************************************************************************************************************
host2                 : ok=1    changed=0    unreachable=0    failed=1    skipped=0    rescued=0    ignored=0   

NB - I updated my inventory adding ansible_ssh_user to match ansible_user on host2 and the operation succeeded

Digging through the source
https://github.com/ansible/ansible/blob/stable-2.9/lib/ansible/plugins/action/synchronize.py#L320

This section appears to need some care & feeding to consider ansible_user

Copied from original issue: ansible/ansible#70248

@djgraff209
Copy link

The code on this was bugging me and I woke up with a thought on this.

Could this be changed from:

        # Determine if we need a user@
        user = None
        if not dest_is_local:
            # Src and dest rsync "path" handling
            if boolean(_tmp_args.get('set_remote_user', 'yes'), strict=False):
                if use_delegate:
                    user = task_vars.get('ansible_delegated_vars', dict()).get('ansible_ssh_user', None)
                    if not user:
                        user = task_vars.get('ansible_ssh_user') or self._play_context.remote_user
                    if not user:
                        user = C.DEFAULT_REMOTE_USER

                else:
                    user = task_vars.get('ansible_ssh_user') or self._play_context.remote_user

To:

        # Determine if we need a user@
        user = None
        if not dest_is_local:
            # Src and dest rsync "path" handling
            if boolean(_tmp_args.get('set_remote_user', 'yes'), strict=False):
                if use_delegate:
                    delegated_task_vars = task_vars.get('ansible_delegated_vars', dict())
                    user = delegated_task_vars.get('ansible_user') or delegated_task_vars.get('ansible_ssh_user')
                    if not user:
                        user = task_vars.get('ansible_user') or task_vars.get('ansible_ssh_user') or self._play_context.remote_user
                    if not user:
                        user = C.DEFAULT_REMOTE_USER

                else:
                    user = task_vars.get('ansible_user') or task_vars.get('ansible_ssh_user') or self._play_context.remote_user

The key pieces being to check for 'ansible_user' in preference to 'ansible_ssh_user'.
My suggestion on this to also create a delegated_task_vars variable local to this section to reduce lookups.

@maxamillion maxamillion added the bug This issue/PR relates to a bug. label Sep 25, 2020
@djgraff209
Copy link

I'd like to contribute a PR to fix this - I have attempted to run "ansible-test" using the following:

ansible-test sanity --docker default -v

Unfortunately that seems to fail.

ERROR: The 10 sanity test(s) listed below (out of 45) failed. See error output above for details.
ansible-doc
changelog
import --python 2.6
import --python 2.7
import --python 3.5
import --python 3.6
import --python 3.7
import --python 3.8
import --python 3.9
validate-modules

The general error on these is along the lines of:

ERROR: plugins/module_utils/__init__.py:0:0: traceback: ImportError: No module named 'ansible_collections.ansible.ansible'
ERROR: plugins/module_utils/firewalld.py:0:0: traceback: ImportError: No module named 'ansible_collections.ansible.ansible'
ERROR: plugins/module_utils/mount.py:0:0: traceback: ImportError: No module named 'ansible_collections.ansible.ansible'
ERROR: plugins/modules/__init__.py:0:0: traceback: ImportError: No module named 'ansible_collections.ansible.ansible'
ERROR: plugins/modules/acl.py:0:0: traceback: ImportError: No module named 'ansible_collections.ansible.ansible'
ERROR: plugins/modules/at.py:0:0: traceback: ImportError: No module named 'ansible_collections.ansible.ansible'
ERROR: plugins/modules/authorized_key.py:0:0: traceback: ImportError: No module named 'ansible_collections.ansible.ansible'
ERROR: plugins/modules/firewalld.py:0:0: traceback: ImportError: No module named 'ansible_collections.ansible.ansible'
ERROR: plugins/modules/mount.py:0:0: traceback: ImportError: No module named 'ansible_collections.ansible.ansible'
ERROR: plugins/modules/patch.py:0:0: traceback: ImportError: No module named 'ansible_collections.ansible.ansible'
ERROR: plugins/modules/seboolean.py:0:0: traceback: ImportError: No module named 'ansible_collections.ansible.ansible'
ERROR: plugins/modules/selinux.py:0:0: traceback: ImportError: No module named 'ansible_collections.ansible.ansible'
ERROR: plugins/modules/synchronize.py:0:0: traceback: ImportError: No module named 'ansible_collections.ansible.ansible'
ERROR: plugins/modules/sysctl.py:0:0: traceback: ImportError: No module named 'ansible_collections.ansible.ansible'

Can you advise on how to run the unit tests prior to beginning dev work on this?

@djgraff209
Copy link

djgraff209 commented Feb 25, 2021

Disregard previous comment - I had the project checkout on disk as ansible_collections/ansible/ansible.posix - moving it to ansible_collections/ansible/posix resolved issue - I can run sanity/unit tests now

@quidame
Copy link
Contributor

quidame commented Mar 28, 2021

Documentation doesn't refer to ansible_ssh_user anymore, not even as a deprecated option: https://docs.ansible.com/ansible/2.9/user_guide/intro_inventory.html, although synchronize's action plugin and unit tests still use it in place of (or mixed with) ansible_user:

$ grep -rl ansible_ssh_user *
plugins/action/synchronize.py
tests/unit/plugins/action/fixtures/synchronize/delegate_remote_su/task_vars_out.json
tests/unit/plugins/action/fixtures/synchronize/delegate_remote_su/task_vars_in.json
tests/unit/plugins/action/fixtures/synchronize/basic_vagrant/task_vars_out.json
tests/unit/plugins/action/fixtures/synchronize/basic_vagrant/task_vars_in.json
tests/unit/plugins/action/fixtures/synchronize/basic_become_cli/task_vars_out.json
tests/unit/plugins/action/fixtures/synchronize/basic_become_cli/task_vars_in.json
tests/unit/plugins/action/fixtures/synchronize/basic_vagrant_sudo/task_vars_out.json
tests/unit/plugins/action/fixtures/synchronize/basic_vagrant_sudo/task_vars_in.json
tests/unit/plugins/action/fixtures/synchronize/basic_with_private_key/taskvars_out.json
tests/unit/plugins/action/fixtures/synchronize/basic_with_private_key/taskvars_in.json
tests/unit/plugins/action/fixtures/synchronize/basic/taskvars_out.json
tests/unit/plugins/action/fixtures/synchronize/basic/taskvars_in.json
tests/unit/plugins/action/fixtures/synchronize/delegate_remote_play_context_private_key/task_vars_out.json
tests/unit/plugins/action/fixtures/synchronize/delegate_remote_play_context_private_key/task_vars_in.json
tests/unit/plugins/action/fixtures/synchronize/basic_vagrant_become_cli/task_vars_out.json
tests/unit/plugins/action/fixtures/synchronize/basic_vagrant_become_cli/task_vars_in.json
tests/unit/plugins/action/fixtures/synchronize/basic_become/task_vars_out.json
tests/unit/plugins/action/fixtures/synchronize/basic_become/task_vars_in.json
tests/unit/plugins/action/fixtures/synchronize/delegate_remote_with_private_key/task_vars_out.json
tests/unit/plugins/action/fixtures/synchronize/delegate_remote_with_private_key/task_vars_in.json
tests/unit/plugins/action/fixtures/synchronize/delegate_remote/task_vars_out.json
tests/unit/plugins/action/fixtures/synchronize/delegate_remote/task_vars_in.json

This is also the case for ansible_ssh_port (that should be ansible_port).

@Akasurde
Copy link
Member Author

resolved_by_pr #159

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue/PR relates to a bug. has_pr verified This issue has been verified/reproduced by maintainer
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants