Timeout (12s) waiting for privilege escalation prompt:
Issue
Steps to reproduce:
-
✅ playtasks/become_user_cfg.yml
fromsrc_a
todest_a
-
✅ playtasks/whoami.yml
fromsrc_a
todest_a
-
❌ playtasks/become_user_cfg.yml
fromsrc_b
todest_a
Timeout (12s) waiting for privilege escalation prompt:
Verbose log (Click to expand)
<src-usr>@<src-host> ~/git/forga-tool-debian % ansible-playbook -vvvvv -i inventory -e host_list=<dst-host> tasks/become_user_cfg.yml --ask-become-pass --ask-pass
ansible-playbook 2.10.8
config file = None
configured module search path = ['/home/<src-usr>/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
ansible python module location = /usr/lib/python3/dist-packages/ansible
executable location = /bin/ansible-playbook
python version = 3.9.7 (default, Sep 10 2021, 14:59:43) [GCC 11.2.0]
No config file found; using defaults
SSH password:
BECOME password[defaults to SSH password]:
setting up inventory plugins
host_list declined parsing /home/<src-usr>/git/forga-tool-debian/inventory as it did not pass its verify_file() method
script declined parsing /home/<src-usr>/git/forga-tool-debian/inventory as it did not pass its verify_file() method
auto declined parsing /home/<src-usr>/git/forga-tool-debian/inventory as it did not pass its verify_file() method
Parsed /home/<src-usr>/git/forga-tool-debian/inventory inventory source with ini plugin
redirecting (type: modules) ansible.builtin.authorized_key to ansible.posix.authorized_key
Loading collection ansible.posix from /usr/lib/python3/dist-packages/ansible_collections/ansible/posix
redirecting (type: modules) ansible.builtin.authorized_key to ansible.posix.authorized_key
Loading callback plugin default of type stdout, v2.0 from /usr/lib/python3/dist-packages/ansible/plugins/callback/default.py
Attempting to use 'default' callback.
Skipping callback 'default', as we already have a stdout callback.
Attempting to use 'junit' callback.
Attempting to use 'minimal' callback.
Skipping callback 'minimal', as we already have a stdout callback.
Attempting to use 'oneline' callback.
Skipping callback 'oneline', as we already have a stdout callback.
Attempting to use 'tree' callback.
PLAYBOOK: become_user_cfg.yml ***************************************************************
Positional arguments: tasks/become_user_cfg.yml
verbosity: 5
ask_pass: True
connection: smart
timeout: 10
become_method: sudo
become_ask_pass: True
tags: ('all',)
inventory: ('/home/<src-usr>/git/forga-tool-debian/inventory',)
extra_vars: ('host_list=<dst-host>',)
forks: 5
1 plays in tasks/become_user_cfg.yml
PLAY [<dst-host>] *********************************************************************************
TASK [Gathering Facts] **********************************************************************
task path: /home/<src-usr>/git/forga-tool-debian/tasks/become_user_cfg.yml:2
<192.168.1.96> ESTABLISH SSH CONNECTION FOR USER: <dst-usr>
<192.168.1.96> SSH: ansible.cfg set ssh_args: (-C)(-o)(ControlMaster=auto)(-o)(ControlPersist=60s)
<192.168.1.96> SSH: ANSIBLE_REMOTE_USER/remote_user/ansible_user/user/-u set: (-o)(User="<dst-usr>")
<192.168.1.96> SSH: ANSIBLE_TIMEOUT/timeout set: (-o)(ConnectTimeout=10)
<192.168.1.96> SSH: PlayContext set ssh_common_args: ()
<192.168.1.96> SSH: PlayContext set ssh_extra_args: ()
<192.168.1.96> SSH: found only ControlPersist; added ControlPath: (-o)(ControlPath=/home/<src-usr>/.ansible/cp/b2666d2a44)
<192.168.1.96> SSH: EXEC sshpass -d10 ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o 'User="<dst-usr>"' -o ConnectTimeout=10 -o ControlPath=/home/<src-usr>/.ansible/cp/b2666d2a44 192.168.1.96 '/bin/sh -c '"'"'echo ~<dst-usr> && sleep 0'"'"''
<192.168.1.96> (0, b'/home/<dst-usr>\n', b'OpenSSH_8.4p1 Ubuntu-6ubuntu2.1, OpenSSL 1.1.1l 24 Aug 2021\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 19: include /etc/ssh/ssh_config.d/*.conf matched no files\r\ndebug1: /etc/ssh/ssh_config line 21: Applying options for *\r\ndebug2: resolve_canonicalize: hostname 192.168.1.96 is address\r\ndebug3: expanded UserKnownHostsFile \'~/.ssh/known_hosts\' -> \'/home/<src-usr>/.ssh/known_hosts\'\r\ndebug3: expanded UserKnownHostsFile \'~/.ssh/known_hosts2\' -> \'/home/<src-usr>/.ssh/known_hosts2\'\r\ndebug1: auto-mux: Trying existing master\r\ndebug1: Control socket "/home/<src-usr>/.ansible/cp/b2666d2a44" does not exist\r\ndebug2: ssh_connect_direct\r\ndebug1: Connecting to 192.168.1.96 [192.168.1.96] port 22.\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug1: fd 3 clearing O_NONBLOCK\r\ndebug1: Connection established.\r\ndebug3: timeout: 9999 ms remain after connect\r\ndebug1: identity file /home/<src-usr>/.ssh/id_rsa type -1\r\ndebug1: identity file /home/<src-usr>/.ssh/id_rsa-cert type -1\r\ndebug1: identity file /home/<src-usr>/.ssh/id_dsa type -1\r\ndebug1: identity file /home/<src-usr>/.ssh/id_dsa-cert type -1\r\ndebug1: identity file /home/<src-usr>/.ssh/id_ecdsa type -1\r\ndebug1: identity file /home/<src-usr>/.ssh/id_ecdsa-cert type -1\r\ndebug1: identity file /home/<src-usr>/.ssh/id_ecdsa_sk type -1\r\ndebug1: identity file /home/<src-usr>/.ssh/id_ecdsa_sk-cert type -1\r\ndebug1: identity file /home/<src-usr>/.ssh/id_ed25519 type 3\r\ndebug1: identity file /home/<src-usr>/.ssh/id_ed25519-cert type -1\r\ndebug1: identity file /home/<src-usr>/.ssh/id_ed25519_sk type -1\r\ndebug1: identity file /home/<src-usr>/.ssh/id_ed25519_sk-cert type -1\r\ndebug1: identity file /home/<src-usr>/.ssh/id_xmss type -1\r\ndebug1: identity file /home/<src-usr>/.ssh/id_xmss-cert type -1\r\ndebug1: Local version string SSH-2.0-OpenSSH_8.4p1 Ubuntu-6ubuntu2.1\r\ndebug1: Remote protocol version 2.0, remote software version OpenSSH_8.4p1 Debian-5\r\ndebug1: match: OpenSSH_8.4p1 Debian-5 pat OpenSSH* compat 0x04000000\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug1: Authenticating to 192.168.1.96:22 as \'<dst-usr>\'\r\ndebug3: hostkeys_foreach: reading file "/home/<src-usr>/.ssh/known_hosts"\r\ndebug3: record_hostkey: found key type ECDSA in file /home/<src-usr>/.ssh/known_hosts:16\r\ndebug3: load_hostkeys: loaded 1 keys from 192.168.1.96\r\ndebug3: order_hostkeyalgs: have matching best-preference key type ecdsa-sha2-nistp256-cert-v01@openssh.com, using HostkeyAlgorithms verbatim\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,curve25519-sha256@libssh.org,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,ext-info-c\r\ndebug2: host key algorithms: ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,sk-ecdsa-sha2-nistp256-cert-v01@openssh.com,ssh-ed25519-cert-v01@openssh.com,sk-ssh-ed25519-cert-v01@openssh.com,rsa-sha2-512-cert-v01@openssh.com,rsa-sha2-256-cert-v01@openssh.com,ssh-rsa-cert-v01@openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ecdsa-sha2-nistp256@openssh.com,ssh-ed25519,sk-ssh-ed25519@openssh.com,rsa-sha2-512,rsa-sha2-256,ssh-rsa\r\ndebug2: ciphers ctos: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com\r\ndebug2: ciphers stoc: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com\r\ndebug2: MACs ctos: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1\r\ndebug2: MACs stoc: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1\r\ndebug2: compression ctos: zlib@openssh.com,zlib,none\r\ndebug2: compression stoc: zlib@openssh.com,zlib,none\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,curve25519-sha256@libssh.org,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\r\ndebug2: host key algorithms: rsa-sha2-512,rsa-sha2-256,ssh-rsa,ecdsa-sha2-nistp256,ssh-ed25519\r\ndebug2: ciphers ctos: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com\r\ndebug2: ciphers stoc: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com\r\ndebug2: MACs ctos: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1\r\ndebug2: MACs stoc: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1\r\ndebug2: compression ctos: none,zlib@openssh.com\r\ndebug2: compression stoc: none,zlib@openssh.com\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: chacha20-poly1305@openssh.com MAC: <implicit> compression: zlib@openssh.com\r\ndebug1: kex: client->server cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: zlib@openssh.com\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:CaqM5ZDRuM9GlpI5VcSocr/VpZTxxWFhKLZL9QMxxlQ\r\ndebug3: hostkeys_foreach: reading file "/home/<src-usr>/.ssh/known_hosts"\r\ndebug3: record_hostkey: found key type ECDSA in file /home/<src-usr>/.ssh/known_hosts:16\r\ndebug3: load_hostkeys: loaded 1 keys from 192.168.1.96\r\ndebug1: Host \'192.168.1.96\' is known and matches the ECDSA host key.\r\ndebug1: Found key in /home/<src-usr>/.ssh/known_hosts:16\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: /home/<src-usr>/.ssh/id_ed25519 ED25519 SHA256:2QXrXxNPuDoO6R1qRE23w/wWp0EnTQLtXJFYfgMZBwI agent\r\ndebug1: Will attempt key: /home/<src-usr>/.ssh/id_rsa \r\ndebug1: Will attempt key: /home/<src-usr>/.ssh/id_dsa \r\ndebug1: Will attempt key: /home/<src-usr>/.ssh/id_ecdsa \r\ndebug1: Will attempt key: /home/<src-usr>/.ssh/id_ecdsa_sk \r\ndebug1: Will attempt key: /home/<src-usr>/.ssh/id_ed25519_sk \r\ndebug1: Will attempt key: /home/<src-usr>/.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=<ssh-ed25519,sk-ssh-ed25519@openssh.com,ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ecdsa-sha2-nistp256@openssh.com,webauthn-sk-ecdsa-sha2-nistp256@openssh.com>\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,password\r\ndebug3: start over, passed a different list publickey,password\r\ndebug3: preferred gssapi-with-mic,publickey,keyboard-interactive,password\r\ndebug3: authmethod_lookup publickey\r\ndebug3: remaining preferred: keyboard-interactive,password\r\ndebug3: authmethod_is_enabled publickey\r\ndebug1: Next authentication method: publickey\r\ndebug1: Offering public key: /home/<src-usr>/.ssh/id_ed25519 ED25519 SHA256:2QXrXxNPuDoO6R1qRE23w/wWp0EnTQLtXJFYfgMZBwI 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,password\r\ndebug1: Trying private key: /home/<src-usr>/.ssh/id_rsa\r\ndebug3: no such identity: /home/<src-usr>/.ssh/id_rsa: No such file or directory\r\ndebug1: Trying private key: /home/<src-usr>/.ssh/id_dsa\r\ndebug3: no such identity: /home/<src-usr>/.ssh/id_dsa: No such file or directory\r\ndebug1: Trying private key: /home/<src-usr>/.ssh/id_ecdsa\r\ndebug3: no such identity: /home/<src-usr>/.ssh/id_ecdsa: No such file or directory\r\ndebug1: Trying private key: /home/<src-usr>/.ssh/id_ecdsa_sk\r\ndebug3: no such identity: /home/<src-usr>/.ssh/id_ecdsa_sk: No such file or directory\r\ndebug1: Trying private key: /home/<src-usr>/.ssh/id_ed25519_sk\r\ndebug3: no such identity: /home/<src-usr>/.ssh/id_ed25519_sk: No such file or directory\r\ndebug1: Trying private key: /home/<src-usr>/.ssh/id_xmss\r\ndebug3: no such identity: /home/<src-usr>/.ssh/id_xmss: No such file or directory\r\ndebug2: we did not send a packet, disable method\r\ndebug3: authmethod_lookup password\r\ndebug3: remaining preferred: ,password\r\ndebug3: authmethod_is_enabled password\r\ndebug1: Next authentication method: password\r\ndebug3: send packet: type 50\r\ndebug2: we sent a password packet, wait for reply\r\ndebug3: receive packet: type 52\r\ndebug1: Enabling compression at level 6.\r\ndebug1: Authentication succeeded (password).\r\nAuthenticated to 192.168.1.96 ([192.168.1.96]:22).\r\ndebug1: setting up multiplex master socket\r\ndebug3: muxserver_listen: temporary control path /home/<src-usr>/.ansible/cp/b2666d2a44.BMG50ratKGQMhdq6\r\ndebug2: fd 4 setting O_NONBLOCK\r\ndebug3: fd 4 is O_NONBLOCK\r\ndebug3: fd 4 is O_NONBLOCK\r\ndebug1: channel 0: new [/home/<src-usr>/.ansible/cp/b2666d2a44]\r\ndebug3: muxserver_listen: mux listener channel 0 fd 4\r\ndebug2: fd 3 setting TCP_NODELAY\r\ndebug3: ssh_packet_set_tos: set IP_TOS 0x08\r\ndebug1: control_persist_detach: backgrounding master process\r\ndebug2: control_persist_detach: background process is 270338\r\ndebug2: fd 4 setting O_NONBLOCK\r\ndebug1: forking to background\r\ndebug1: Entering interactive session.\r\ndebug1: pledge: id\r\ndebug2: set_control_persist_exit_time: schedule exit in 60 seconds\r\ndebug1: multiplexing control connection\r\ndebug2: fd 5 setting O_NONBLOCK\r\ndebug3: fd 5 is O_NONBLOCK\r\ndebug1: channel 1: new [mux-control]\r\ndebug3: channel_post_mux_listener: new mux channel 1 fd 5\r\ndebug3: mux_master_read_cb: channel 1: hello sent\r\ndebug2: set_control_persist_exit_time: cancel scheduled exit\r\ndebug3: mux_master_read_cb: channel 1 packet type 0x00000001 len 4\r\ndebug2: mux_master_process_hello: channel 1 client version 4\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_master_read_cb: channel 1 packet type 0x10000004 len 4\r\ndebug2: mux_master_process_alive_check: channel 1: alive check\r\ndebug3: mux_client_request_alive: done pid = 270340\r\ndebug3: mux_client_request_session: session request sent\r\ndebug3: mux_master_read_cb: channel 1 packet type 0x10000002 len 104\r\ndebug2: mux_master_process_new_session: channel 1: request tty 0, X 0, agent 0, subsys 0, term "xterm-256color", cmd "/bin/sh -c \'echo ~<dst-usr> && sleep 0\'", env 1\r\ndebug3: mux_master_process_new_session: got fds stdin 6, stdout 7, stderr 8\r\ndebug2: fd 7 setting O_NONBLOCK\r\ndebug2: fd 8 setting O_NONBLOCK\r\ndebug1: channel 2: new [client-session]\r\ndebug2: mux_master_process_new_session: channel_new: 2 linked to control channel 1\r\ndebug2: channel 2: send open\r\ndebug3: send packet: type 90\r\ndebug3: receive packet: type 80\r\ndebug1: client_input_global_request: rtype hostkeys-00@openssh.com want_reply 0\r\ndebug3: receive packet: type 91\r\ndebug2: channel_input_open_confirmation: channel 2: callback start\r\ndebug2: client_session2_setup: id 2\r\ndebug1: Sending environment.\r\ndebug1: Sending env LANG = fr_FR.UTF-8\r\ndebug2: channel 2: request env confirm 0\r\ndebug3: send packet: type 98\r\ndebug1: Sending command: /bin/sh -c \'echo ~<dst-usr> && sleep 0\'\r\ndebug2: channel 2: request exec confirm 1\r\ndebug3: send packet: type 98\r\ndebug3: mux_session_confirm: sending success reply\r\ndebug2: channel_input_open_confirmation: channel 2: callback done\r\ndebug2: channel 2: open confirm rwindow 0 rmax 32768\r\ndebug1: mux_client_request_session: master session id: 2\r\ndebug2: channel 2: rcvd adjust 2097152\r\ndebug3: receive packet: type 99\r\ndebug2: channel_input_status_confirm: type 99 id 2\r\ndebug2: exec request accepted on channel 2\r\ndebug2: channel 2: rcvd ext data 35\r\nTERM environment variable not set.\ndebug2: channel 2: written 35 to efd 8\r\ndebug3: receive packet: type 98\r\ndebug1: client_input_channel_req: channel 2 rtype exit-status reply 0\r\ndebug3: mux_exit_message: channel 2: exit message, exitval 0\r\ndebug3: receive packet: type 98\r\ndebug1: client_input_channel_req: channel 2 rtype eow@openssh.com reply 0\r\ndebug2: channel 2: rcvd eow\r\ndebug2: channel 2: chan_shutdown_read (i0 o0 sock -1 wfd 6 efd 8 [write])\r\ndebug2: channel 2: input open -> closed\r\ndebug3: receive packet: type 96\r\ndebug2: channel 2: rcvd eof\r\ndebug2: channel 2: output open -> drain\r\ndebug2: channel 2: obuf empty\r\ndebug2: channel 2: chan_shutdown_write (i3 o1 sock -1 wfd 7 efd 8 [write])\r\ndebug2: channel 2: output drain -> closed\r\ndebug3: receive packet: type 97\r\ndebug2: channel 2: rcvd close\r\ndebug3: channel 2: will not send data after close\r\ndebug2: channel 2: send close\r\ndebug3: send packet: type 97\r\ndebug2: channel 2: is dead\r\ndebug2: channel 2: gc: notify user\r\ndebug3: mux_master_session_cleanup_cb: entering for channel 2\r\ndebug2: channel 1: rcvd close\r\ndebug2: channel 1: output open -> drain\r\ndebug2: channel 1: chan_shutdown_read (i0 o1 sock 5 wfd 5 efd -1 [closed])\r\ndebug2: channel 1: input open -> closed\r\ndebug2: channel 2: gc: user detached\r\ndebug2: channel 2: is dead\r\ndebug2: channel 2: garbage collecting\r\ndebug1: channel 2: free: client-session, nchannels 3\r\ndebug3: channel 2: status: The following connections are open:\r\n #1 mux-control (t16 nr0 i3/0 o1/16 e[closed]/0 fd 5/5/-1 sock 5 cc -1)\r\n #2 client-session (t4 r0 i3/0 o3/0 e[write]/0 fd -1/-1/8 sock -1 cc -1)\r\n\r\ndebug2: channel 1: obuf empty\r\ndebug2: channel 1: chan_shutdown_write (i3 o1 sock 5 wfd 5 efd -1 [closed])\r\ndebug2: channel 1: output drain -> closed\r\ndebug2: channel 1: is dead (local)\r\ndebug2: channel 1: gc: notify user\r\ndebug3: mux_master_control_cleanup_cb: entering for channel 1\r\ndebug2: channel 1: gc: user detached\r\ndebug2: channel 1: is dead (local)\r\ndebug2: channel 1: garbage collecting\r\ndebug1: channel 1: free: mux-control, nchannels 2\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug3: channel 1: status: The following connections are open:\r\n #1 mux-control (t16 nr0 i3/0 o3/0 e[closed]/0 fd 5/5/-1 sock 5 cc -1)\r\n\r\ndebug2: Received exit status from master 0\r\ndebug2: set_control_persist_exit_time: schedule exit in 60 seconds\r\n')
<192.168.1.96> ESTABLISH SSH CONNECTION FOR USER: <dst-usr>
<192.168.1.96> SSH: ansible.cfg set ssh_args: (-C)(-o)(ControlMaster=auto)(-o)(ControlPersist=60s)
<192.168.1.96> SSH: ANSIBLE_REMOTE_USER/remote_user/ansible_user/user/-u set: (-o)(User="<dst-usr>")
<192.168.1.96> SSH: ANSIBLE_TIMEOUT/timeout set: (-o)(ConnectTimeout=10)
<192.168.1.96> SSH: PlayContext set ssh_common_args: ()
<192.168.1.96> SSH: PlayContext set ssh_extra_args: ()
<192.168.1.96> SSH: found only ControlPersist; added ControlPath: (-o)(ControlPath=/home/<src-usr>/.ansible/cp/b2666d2a44)
<192.168.1.96> SSH: EXEC sshpass -d10 ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o 'User="<dst-usr>"' -o ConnectTimeout=10 -o ControlPath=/home/<src-usr>/.ansible/cp/b2666d2a44 192.168.1.96 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /home/<dst-usr>/.ansible/tmp `"&& mkdir "` echo /home/<dst-usr>/.ansible/tmp/ansible-tmp-1643661263.7131765-270316-213422666024393 `" && echo ansible-tmp-1643661263.7131765-270316-213422666024393="` echo /home/<dst-usr>/.ansible/tmp/ansible-tmp-1643661263.7131765-270316-213422666024393 `" ) && sleep 0'"'"''
<192.168.1.96> (0, b'ansible-tmp-1643661263.7131765-270316-213422666024393=/home/<dst-usr>/.ansible/tmp/ansible-tmp-1643661263.7131765-270316-213422666024393\n', b"OpenSSH_8.4p1 Ubuntu-6ubuntu2.1, OpenSSL 1.1.1l 24 Aug 2021\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 19: include /etc/ssh/ssh_config.d/*.conf matched no files\r\ndebug1: /etc/ssh/ssh_config line 21: Applying options for *\r\ndebug2: resolve_canonicalize: hostname 192.168.1.96 is address\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts' -> '/home/<src-usr>/.ssh/known_hosts'\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts2' -> '/home/<src-usr>/.ssh/known_hosts2'\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 270340\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\nTERM environment variable not set.\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n")
Including module_utils file ansible/__init__.py
Including module_utils file ansible/module_utils/__init__.py
Including module_utils file ansible/module_utils/_text.py
Including module_utils file ansible/module_utils/basic.py
Including module_utils file ansible/module_utils/common/_collections_compat.py
Including module_utils file ansible/module_utils/common/__init__.py
Including module_utils file ansible/module_utils/common/_json_compat.py
Including module_utils file ansible/module_utils/common/_utils.py
Including module_utils file ansible/module_utils/common/file.py
Including module_utils file ansible/module_utils/common/parameters.py
Including module_utils file ansible/module_utils/common/collections.py
Including module_utils file ansible/module_utils/common/process.py
Including module_utils file ansible/module_utils/common/sys_info.py
Including module_utils file ansible/module_utils/common/text/converters.py
Including module_utils file ansible/module_utils/common/text/__init__.py
Including module_utils file ansible/module_utils/common/text/formatters.py
Including module_utils file ansible/module_utils/common/validation.py
Including module_utils file ansible/module_utils/common/warnings.py
Including module_utils file ansible/module_utils/compat/selectors.py
Including module_utils file ansible/module_utils/compat/__init__.py
Including module_utils file ansible/module_utils/compat/_selectors2.py
Including module_utils file ansible/module_utils/distro/__init__.py
Including module_utils file ansible/module_utils/distro/_distro.py
Including module_utils file ansible/module_utils/facts/ansible_collector.py
Including module_utils file ansible/module_utils/facts/__init__.py
Including module_utils file ansible/module_utils/facts/collector.py
Including module_utils file ansible/module_utils/facts/compat.py
Including module_utils file ansible/module_utils/facts/default_collectors.py
Including module_utils file ansible/module_utils/facts/hardware/aix.py
Including module_utils file ansible/module_utils/facts/hardware/__init__.py
Including module_utils file ansible/module_utils/facts/hardware/base.py
Including module_utils file ansible/module_utils/facts/hardware/darwin.py
Including module_utils file ansible/module_utils/facts/hardware/dragonfly.py
Including module_utils file ansible/module_utils/facts/hardware/freebsd.py
Including module_utils file ansible/module_utils/facts/hardware/hpux.py
Including module_utils file ansible/module_utils/facts/hardware/hurd.py
Including module_utils file ansible/module_utils/facts/hardware/linux.py
Including module_utils file ansible/module_utils/facts/hardware/netbsd.py
Including module_utils file ansible/module_utils/facts/hardware/openbsd.py
Including module_utils file ansible/module_utils/facts/hardware/sunos.py
Including module_utils file ansible/module_utils/facts/namespace.py
Including module_utils file ansible/module_utils/facts/network/aix.py
Including module_utils file ansible/module_utils/facts/network/__init__.py
Including module_utils file ansible/module_utils/facts/network/base.py
Including module_utils file ansible/module_utils/facts/network/darwin.py
Including module_utils file ansible/module_utils/facts/network/dragonfly.py
Including module_utils file ansible/module_utils/facts/network/fc_wwn.py
Including module_utils file ansible/module_utils/facts/network/freebsd.py
Including module_utils file ansible/module_utils/facts/network/generic_bsd.py
Including module_utils file ansible/module_utils/facts/network/hpux.py
Including module_utils file ansible/module_utils/facts/network/hurd.py
Including module_utils file ansible/module_utils/facts/network/iscsi.py
Including module_utils file ansible/module_utils/facts/network/linux.py
Including module_utils file ansible/module_utils/facts/network/netbsd.py
Including module_utils file ansible/module_utils/facts/network/nvme.py
Including module_utils file ansible/module_utils/facts/network/openbsd.py
Including module_utils file ansible/module_utils/facts/network/sunos.py
Including module_utils file ansible/module_utils/facts/other/facter.py
Including module_utils file ansible/module_utils/facts/other/__init__.py
Including module_utils file ansible/module_utils/facts/other/ohai.py
Including module_utils file ansible/module_utils/facts/sysctl.py
Including module_utils file ansible/module_utils/facts/system/apparmor.py
Including module_utils file ansible/module_utils/facts/system/__init__.py
Including module_utils file ansible/module_utils/facts/system/caps.py
Including module_utils file ansible/module_utils/facts/system/chroot.py
Including module_utils file ansible/module_utils/facts/system/cmdline.py
Including module_utils file ansible/module_utils/facts/system/date_time.py
Including module_utils file ansible/module_utils/facts/system/distribution.py
Including module_utils file ansible/module_utils/facts/system/dns.py
Including module_utils file ansible/module_utils/facts/system/env.py
Including module_utils file ansible/module_utils/facts/system/fips.py
Including module_utils file ansible/module_utils/facts/system/local.py
Including module_utils file ansible/module_utils/facts/system/lsb.py
Including module_utils file ansible/module_utils/facts/system/pkg_mgr.py
Including module_utils file ansible/module_utils/facts/system/platform.py
Including module_utils file ansible/module_utils/facts/system/python.py
Including module_utils file ansible/module_utils/facts/system/selinux.py
Including module_utils file ansible/module_utils/facts/system/service_mgr.py
Including module_utils file ansible/module_utils/facts/system/ssh_pub_keys.py
Including module_utils file ansible/module_utils/facts/system/user.py
Including module_utils file ansible/module_utils/facts/timeout.py
Including module_utils file ansible/module_utils/facts/utils.py
Including module_utils file ansible/module_utils/facts/virtual/base.py
Including module_utils file ansible/module_utils/facts/virtual/__init__.py
Including module_utils file ansible/module_utils/facts/virtual/dragonfly.py
Including module_utils file ansible/module_utils/facts/virtual/freebsd.py
Including module_utils file ansible/module_utils/facts/virtual/hpux.py
Including module_utils file ansible/module_utils/facts/virtual/linux.py
Including module_utils file ansible/module_utils/facts/virtual/netbsd.py
Including module_utils file ansible/module_utils/facts/virtual/openbsd.py
Including module_utils file ansible/module_utils/facts/virtual/sunos.py
Including module_utils file ansible/module_utils/facts/virtual/sysctl.py
Including module_utils file ansible/module_utils/parsing/convert_bool.py
Including module_utils file ansible/module_utils/parsing/__init__.py
Including module_utils file ansible/module_utils/pycompat24.py
Including module_utils file ansible/module_utils/six/__init__.py
Using module file /usr/lib/python3/dist-packages/ansible/modules/setup.py
<192.168.1.96> PUT /home/<src-usr>/.ansible/tmp/ansible-local-270192pmm038or/tmphv3iy0cr TO /home/<dst-usr>/.ansible/tmp/ansible-tmp-1643661263.7131765-270316-213422666024393/AnsiballZ_setup.py
<192.168.1.96> SSH: disable batch mode for sshpass: (-o)(BatchMode=no)
<192.168.1.96> SSH: ansible.cfg set ssh_args: (-C)(-o)(ControlMaster=auto)(-o)(ControlPersist=60s)
<192.168.1.96> SSH: ANSIBLE_REMOTE_USER/remote_user/ansible_user/user/-u set: (-o)(User="<dst-usr>")
<192.168.1.96> SSH: ANSIBLE_TIMEOUT/timeout set: (-o)(ConnectTimeout=10)
<192.168.1.96> SSH: PlayContext set ssh_common_args: ()
<192.168.1.96> SSH: PlayContext set sftp_extra_args: ()
<192.168.1.96> SSH: found only ControlPersist; added ControlPath: (-o)(ControlPath=/home/<src-usr>/.ansible/cp/b2666d2a44)
<192.168.1.96> SSH: EXEC sshpass -d10 sftp -o BatchMode=no -b - -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o 'User="<dst-usr>"' -o ConnectTimeout=10 -o ControlPath=/home/<src-usr>/.ansible/cp/b2666d2a44 '[192.168.1.96]'
<192.168.1.96> (0, b'sftp> put /home/<src-usr>/.ansible/tmp/ansible-local-270192pmm038or/tmphv3iy0cr /home/<dst-usr>/.ansible/tmp/ansible-tmp-1643661263.7131765-270316-213422666024393/AnsiballZ_setup.py\n', b'OpenSSH_8.4p1 Ubuntu-6ubuntu2.1, OpenSSL 1.1.1l 24 Aug 2021\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 19: include /etc/ssh/ssh_config.d/*.conf matched no files\r\ndebug1: /etc/ssh/ssh_config line 21: Applying options for *\r\ndebug2: resolve_canonicalize: hostname 192.168.1.96 is address\r\ndebug3: expanded UserKnownHostsFile \'~/.ssh/known_hosts\' -> \'/home/<src-usr>/.ssh/known_hosts\'\r\ndebug3: expanded UserKnownHostsFile \'~/.ssh/known_hosts2\' -> \'/home/<src-usr>/.ssh/known_hosts2\'\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 270340\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\ndebug2: Remote version: 3\r\ndebug2: Server supports extension "posix-rename@openssh.com" revision 1\r\ndebug2: Server supports extension "statvfs@openssh.com" revision 2\r\ndebug2: Server supports extension "fstatvfs@openssh.com" revision 2\r\ndebug2: Server supports extension "hardlink@openssh.com" revision 1\r\ndebug2: Server supports extension "fsync@openssh.com" revision 1\r\ndebug2: Server supports extension "lsetstat@openssh.com" revision 1\r\ndebug3: Sent message fd 3 T:16 I:1\r\ndebug3: SSH_FXP_REALPATH . -> /home/<dst-usr> size 0\r\ndebug3: Looking up /home/<src-usr>/.ansible/tmp/ansible-local-270192pmm038or/tmphv3iy0cr\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/<dst-usr>/.ansible/tmp/ansible-tmp-1643661263.7131765-270316-213422666024393/AnsiballZ_setup.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:32768\r\ndebug3: Sent message SSH2_FXP_WRITE I:8 O:131072 S:32768\r\ndebug3: Sent message SSH2_FXP_WRITE I:9 O:163840 S:32768\r\ndebug3: Sent message SSH2_FXP_WRITE I:10 O:196608 S:32768\r\ndebug3: Sent message SSH2_FXP_WRITE I:11 O:229376 S:32768\r\ndebug3: Sent message SSH2_FXP_WRITE I:12 O:262144 S:5996\r\ndebug3: SSH2_FXP_STATUS 0\r\ndebug3: In write loop, ack for 5 32768 bytes at 32768\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 32768 bytes at 98304\r\ndebug3: SSH2_FXP_STATUS 0\r\ndebug3: In write loop, ack for 8 32768 bytes at 131072\r\ndebug3: SSH2_FXP_STATUS 0\r\ndebug3: In write loop, ack for 9 32768 bytes at 163840\r\ndebug3: SSH2_FXP_STATUS 0\r\ndebug3: In write loop, ack for 10 32768 bytes at 196608\r\ndebug3: SSH2_FXP_STATUS 0\r\ndebug3: In write loop, ack for 11 32768 bytes at 229376\r\ndebug3: SSH2_FXP_STATUS 0\r\ndebug3: In write loop, ack for 12 5996 bytes at 262144\r\ndebug3: Sent message SSH2_FXP_CLOSE I:4\r\ndebug3: SSH2_FXP_STATUS 0\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n')
<192.168.1.96> ESTABLISH SSH CONNECTION FOR USER: <dst-usr>
<192.168.1.96> SSH: ansible.cfg set ssh_args: (-C)(-o)(ControlMaster=auto)(-o)(ControlPersist=60s)
<192.168.1.96> SSH: ANSIBLE_REMOTE_USER/remote_user/ansible_user/user/-u set: (-o)(User="<dst-usr>")
<192.168.1.96> SSH: ANSIBLE_TIMEOUT/timeout set: (-o)(ConnectTimeout=10)
<192.168.1.96> SSH: PlayContext set ssh_common_args: ()
<192.168.1.96> SSH: PlayContext set ssh_extra_args: ()
<192.168.1.96> SSH: found only ControlPersist; added ControlPath: (-o)(ControlPath=/home/<src-usr>/.ansible/cp/b2666d2a44)
<192.168.1.96> SSH: EXEC sshpass -d10 ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o 'User="<dst-usr>"' -o ConnectTimeout=10 -o ControlPath=/home/<src-usr>/.ansible/cp/b2666d2a44 192.168.1.96 '/bin/sh -c '"'"'chmod u+x /home/<dst-usr>/.ansible/tmp/ansible-tmp-1643661263.7131765-270316-213422666024393/ /home/<dst-usr>/.ansible/tmp/ansible-tmp-1643661263.7131765-270316-213422666024393/AnsiballZ_setup.py && sleep 0'"'"''
<192.168.1.96> (0, b'', b"OpenSSH_8.4p1 Ubuntu-6ubuntu2.1, OpenSSL 1.1.1l 24 Aug 2021\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 19: include /etc/ssh/ssh_config.d/*.conf matched no files\r\ndebug1: /etc/ssh/ssh_config line 21: Applying options for *\r\ndebug2: resolve_canonicalize: hostname 192.168.1.96 is address\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts' -> '/home/<src-usr>/.ssh/known_hosts'\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts2' -> '/home/<src-usr>/.ssh/known_hosts2'\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 270340\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\nTERM environment variable not set.\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n")
<192.168.1.96> ESTABLISH SSH CONNECTION FOR USER: <dst-usr>
<192.168.1.96> SSH: ansible.cfg set ssh_args: (-C)(-o)(ControlMaster=auto)(-o)(ControlPersist=60s)
<192.168.1.96> SSH: ANSIBLE_REMOTE_USER/remote_user/ansible_user/user/-u set: (-o)(User="<dst-usr>")
<192.168.1.96> SSH: ANSIBLE_TIMEOUT/timeout set: (-o)(ConnectTimeout=10)
<192.168.1.96> SSH: PlayContext set ssh_common_args: ()
<192.168.1.96> SSH: PlayContext set ssh_extra_args: ()
<192.168.1.96> SSH: found only ControlPersist; added ControlPath: (-o)(ControlPath=/home/<src-usr>/.ansible/cp/b2666d2a44)
<192.168.1.96> SSH: EXEC sshpass -d10 ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o 'User="<dst-usr>"' -o ConnectTimeout=10 -o ControlPath=/home/<src-usr>/.ansible/cp/b2666d2a44 -tt 192.168.1.96 '/bin/sh -c '"'"'/usr/bin/python3 /home/<dst-usr>/.ansible/tmp/ansible-tmp-1643661263.7131765-270316-213422666024393/AnsiballZ_setup.py && sleep 0'"'"''
<192.168.1.96> (0, b'\x1b[H\x1b[2J\x1b[3J\r\n{"ansible_facts": {"ansible_distribution": "Debian", "ansible_distribution_release": "bullseye", "ansible_distribution_version": "11", "ansible_distribution_major_version": "11", "ansible_distribution_file_path": "/etc/os-release", "ansible_distribution_file_variety": "Debian", "ansible_distribution_file_parsed": true, "ansible_os_family": "Debian", "ansible_system": "Linux", "ansible_kernel": "5.10.0-10-amd64", "ansible_kernel_version": "#1 SMP Debian 5.10.84-1 (2021-12-08)", "ansible_machine": "x86_64", "ansible_python_version": "3.9.2", "ansible_fqdn": "<dst-host>", "ansible_hostname": "<dst-host>", "ansible_nodename": "<dst-host>", "ansible_domain": "", "ansible_userspace_bits": "64", "ansible_architecture": "x86_64", "ansible_userspace_architecture": "x86_64", "ansible_machine_id": "059bf88961074a3ea413c619d2031bb1", "ansible_fips": false, "ansible_selinux_python_present": true, "ansible_selinux": {"status": "disabled"}, "ansible_is_chroot": false, "ansible_date_time": {"year": "2022", "month": "01", "weekday": "lundi", "weekday_number": "1", "weeknumber": "05", "day": "31", "hour": "21", "minute": "34", "second": "`<code>22", "epoch": "1643661262", "date": "2022-01-31", "time": "21:34:22", "iso8601_micro": "2022-01-31T20:34:22.887348Z", "iso8601": "2022-01-31T20:34:22Z", "iso8601_basic": "20220131T213422887348", "iso8601_basic_short": "20220131T213422", "tz": "CET", "tz_offset": "+0100"}, "ansible_user_id": "<dst-usr>", "ansible_user_uid": 1000, "ansible_user_gid": 1000, "ansible_user_gecos": "<dst-usr>,,,", "ansible_user_dir": "/home/<dst-usr>", "ansible_user_shell": "/bin/zsh", "ansible_real_user_id": 1000, "ansible_effective_user_id": 1000, "ansible_real_group_id": 1000, "ansible_effective_group_id": 1000, "ansible_hostnqn": "", "ansible_dns": {"nameservers": ["192.168.1.1"]}, "ansible_virtualization_type": "virtualbox", "ansible_virtualization_role": "host", "ansible_ssh_host_key_rsa_public": "AAAAB3NzaC1yc2EAAAADAQABAAABAQDEkI4jQmvorO5lxUJNHsSXZzq13ddarDzHhq10hu8D2gs46SbsjCvzBV4lAbW4KowWlu+hbnSaliK4JAElm8FPsyrOzFYvjxu/s4lIWHUq43yDun9fSlo2lB7ET1DFQTNSY239S9jjvpif5bwOAF30KtkT/VvdTvt//R/DcSxUtdTiAYI5lD15Bi4q/B3AxpAODy9yTzeCGMDuV1UqeqmNpe6dxGElhApBxUY9iA8/OS/7yiuxwy/3TyoiY3bVBfCdTwsB41EWB0LRmKtaCvjCzWup6H1Vll4hjO1RiJ+Zuxch0nx7t5+GXwueMSBzmXqLBEp72k93z5lx2Wf9xtjJ", "ansible_ssh_host_key_rsa_public_keytype": "ssh-rsa", "ansible_ssh_host_key_ecdsa_public": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBINfMw2mt7grXkmi3X8MpQH5dMRySKgEhU0vEcYRUrGdtzcxThWfB0yiaGt1E5Vh/eTKHBLLWFCKqkPi6JRm+Tk=", "ansible_ssh_host_key_ecdsa_public_keytype": "ecdsa-sha2-nistp256", "ansible_ssh_host_key_ed25519_public": "AAAAC3NzaC1lZDI1NTE5AAAAIArPTcv/m7t4FS3QS9pCYvtGfh/m2XGozpfQ4YrWaIM6", "ansible_ssh_host_key_ed25519_public_keytype": "ssh-ed25519", "ansible_local": {}, "ansible_system_capabilities_enforced": "True", "ansible_system_capabilities": [""], "ansible_env": {"USER": "<dst-usr>", "SSH_CLIENT": "192.168.1.44 59086 22", "XDG_SESSION_TYPE": "tty", "SHLVL": "0", "HOME": "/home/<dst-usr>", "MOTD_SHOWN": "pam", "OLDPWD": "/home/<dst-usr>", "SSH_TTY": "/dev/pts/1", "DBUS_SESSION_BUS_ADDRESS": "unix:path=/run/user/1000/bus", "VISUAL": "vim", "LOGNAME": "<dst-usr>", "_": "/bin/sh", "XDG_SESSION_CLASS": "user", "TERM": "xterm-256color", "XDG_SESSION_ID": "10", "PATH": "/usr/local/bin:/usr/local/sbin:/bin:/usr/bin:/usr/sbin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/sbin:/home/<dst-usr>/bin:/home/<dst-usr>/.local/bin", "XDG_RUNTIME_DIR": "/run/user/1000", "LANG": "fr_FR.UTF-8", "SHELL": "/bin/zsh", "PWD": "/home/<dst-usr>", "SSH_CONNECTION": "192.168.1.44 59086 192.168.1.96 22", "EDITOR": "vim"}, "ansible_apparmor": {"status": "enabled"}, "ansible_lsb": {"id": "Debian", "description": "Debian GNU/Linux 11 (bullseye)", "release": "11", "codename": "bullseye", "major_release": "11"}, "ansible_service_mgr": "systemd", "ansible_interfaces": ["lo", "wlp5s0", "enp4s0_avahi", "enp4s0"], "ansible_lo": {"device": "lo", "mtu": 65536, "active": true, "type": "loopback", "promisc": false, "ipv4": {"address": "127.0.0.1", "broadcast": "", "netmask": "255.0.0.0", "network": "127.0.0.0"}, "ipv6": [{"address": "::1", "prefix": "128", "scope": "host"}]}, "ansible_enp4s0": {"device": "enp4s0", "macaddress": "90:e6:ba:00:75:9d", "mtu": 1500, "active": false, "module": "r8169", "type": "ether", "pciid": "0000:04:00.0", "speed": -1, "promisc": false}, "ansible_enp4s0_avahi": {"ipv4": {"address": "169.254.8.64", "broadcast": "169.254.255.255", "netmask": "255.255.0.0", "network": "169.254.0.0"}}, "ansible_wlp5s0": {"device": "wlp5s0", "macaddress": "00:25:d3:6b:cc:26", "mtu": 1500, "active": true, "module": "ath9k", "type": "ether", "pciid": "0000:05:00.0", "promisc": false, "ipv4": {"address": "192.168.1.96", "broadcast": "192.168.1.255", "netmask": "255.255.255.0", "network": "192.168.1.0"}, "ipv6": [{"address": "fe80::f254:9adb:d360:374d", "prefix": "64", "scope": "link"}]}, "ansible_default_ipv4": {"gateway": "192.168.1.1", "interface": "wlp5s0", "address": "192.168.1.96", "broadcast": "192.168.1.255", "netmask": "255.255.255.0", "network": "192.168.1.0", "macaddress": "00:25:d3:6b:cc:26", "mtu": 1500, "type": "ether", "alias": "wlp5s0"}, "ansible_default_ipv6": {}, "ansible_all_ipv4_addresses": ["169.254.8.64", "192.168.1.96"], "ansible_all_ipv6_addresses": ["fe80::f254:9adb:d360:374d"], "ansible_python": {"version": {"major": 3, "minor": 9, "micro": 2, "releaselevel": "final", "serial": 0}, "version_info": [3, 9, 2, "final", 0], "executable": "/usr/bin/python3", "has_sslcontext": true, "type": "cpython"}, "ansible_pkg_mgr": "apt", "ansible_processor": ["0", "GenuineIntel", "Intel(R) Core(TM)2 Duo CPU T6500 @ 2.10GHz", "1", "GenuineIntel", "Intel(R) Core(TM)2 Duo CPU T6500 @ 2.10GHz"], "ansible_processor_count": 1, "ansible_processor_cores": 2, "ansible_processor_threads_per_core": 1, "ansible_processor_vcpus": 2, "ansible_processor_nproc": 2, "ansible_memtotal_mb": 3930, "ansible_memfree_mb": 299, "ansible_swaptotal_mb": 4093, "ansible_swapfree_mb": 4092, "ansible_memory_mb": {"real": {"total": 3930, "used": 3631, "free": 299}, "nocache": {"free": 1789, "used": 2141}, "swap": {"total": 4093, "free": 4092, "used": 1, "cached": 0}}, "ansible_bios_date": "07/22/2009", "ansible_bios_vendor": "American Megatrends Inc.", "ansible_bios_version": "213", "ansible_board_asset_tag": "ATN12345678901234567", "ansible_board_name": "K50IN", "ansible_board_serial": "NA", "ansible_board_vendor": "ASUSTeK Computer Inc.", "ansible_board_version": "1.0", "ansible_chassis_asset_tag": "No Asset Tag", "ansible_chassis_serial": "NA", "ansible_chassis_vendor": "ASUSTeK Computer Inc.", "ansible_chassis_version": "NA", "ansible_form_factor": "Notebook", "ansible_product_name": "K50IN", "ansible_product_serial": "NA", "ansible_product_uuid": "NA", "ansible_product_version": "1.0", "ansible_system_vendor": "ASUSTeK Computer Inc.", "ansible_devices": {"loop1": {"virtual": 1, "links": {"ids": [], "uuids": [], "labels": [], "masters": []}, "vendor": null, "model": null, "sas_address": null, "sas_device_handle": null, "removable": "0", "support_discard": "4096", "partitions": {}, "rotational": "0", "scheduler_mode": "mq-deadline", "sectors": "203456", "sectorsize": "512", "size": "99.34 MB", "host": "", "holders": []}, "loop6": {"virtual": 1, "links": {"ids": [], "uuids": [], "labels": [], "masters": []}, "vendor": null, "model": null, "sas_address": null, "sas_device_handle": null, "removable": "0", "support_discard": "0", "partitions": {}, "rotational": "1", "scheduler_mode": "mq-deadline", "sectors": "0", "sectorsize": "512", "size": "0.00 Bytes", "host": "", "holders": []}, "loop4": {"virtual": 1, "links": {"ids": [], "uuids": [], "labels": [], "masters": []}, "vendor": null, "model": null, "sas_address": null, "sas_device_handle": null, "removable": "0", "support_discard": "0", "partitions": {}, "rotational": "1", "scheduler_mode": "mq-deadline", "sectors": "0", "sectorsize": "512", "size": "0.00 Bytes", "host": "", "holders": []}, "sr0": {"virtual": 1, "links": {"ids": ["ata-Slimtype_DVD_A_DS8A3S_908010127786"], "uuids": [], "labels": [], "masters": []}, "vendor": "Slimtype", "model": "DVD A DS8A3S", "sas_address": null, "sas_device_handle": null, "removable": "1", "support_discard": "0", "partitions": {}, "rotational": "1", "scheduler_mode": "mq-deadline", "sectors": "2097151", "sectorsize": "512", "size": "1024.00 MB", "host": "SATA controller: NVIDIA Corporation MCP79 AHCI Controller (rev b1)", "holders": []}, "loop2": {"virtual": 1, "links": {"ids": [], "uuids": [], "labels": [], "masters": []}, "vendor": null, "model": null, "sas_address": null, "sas_device_handle": null, "removable": "0", "support_discard": "4096", "partitions": {}, "rotational": "0", "scheduler_mode": "mq-deadline", "sectors": "0", "sectorsize": "512", "size": "0.00 Bytes", "host": "", "holders": []}, "loop0": {"virtual": 1, "links": {"ids": [], "uuids": [], "labels": [], "masters": []}, "vendor": null, "model": null, "sas_address": null, "sas_device_handle": null, "removable": "0", "support_discard": "4096", "partitions": {}, "rotational": "0", "scheduler_mode": "mq-deadline", "sectors": "203648", "sectorsize": "512", "size": "99.44 MB", "host": "", "holders": []}, "loop7": {"virtual": 1, "links": {"ids": [], "uuids": [], "labels": [], "masters": []}, "vendor": null, "model": null, "sas_address": null, "sas_device_handle": null, "removable": "0", "support_discard": "0", "partitions": {}, "rotational": "1", "scheduler_mode": "mq-deadline", "sectors": "0", "sectorsize": "512", "size": "0.00 Bytes", "host": "", "holders": []}, "sda": {"virtual": 1, "links": {"ids": ["ata-Crucial_CT128MX100SSD1_14360D24711A", "wwn-0x500a07510d24711a"], "uuids": [], "labels": [], "masters": []}, "vendor": "ATA", "model": "Crucial_CT128MX1", "sas_address": null, "sas_device_handle": null, "removable": "0", "support_discard": "4096", "wwn": "0x500a07510d24711a", "partitions": {"sda2": {"links": {"ids": ["ata-Crucial_CT128MX100SSD1_14360D24711A-part2", "wwn-0x500a07510d24711a-part2"], "uuids": [], "labels": [], "masters": []}, "start": "241684478", "sectors": "2", "sectorsize": 512, "size": "1.00 KB", "uuid": null, "holders": []}, "sda5": {"links": {"ids": ["ata-Crucial_CT128MX100SSD1_14360D24711A-part5", "wwn-0x500a07510d24711a-part5"], "uuids": ["32efbbe3-d19a-49e8-aa8b-b36137cd9343"], "labels": [], "masters": []}, "start": "241684480", "sectors": "8384512", "sectorsize": 512, "size": "4.00 GB", "uuid": "32efbbe3-d19a-49e8-aa8b-b36137cd9343", "holders": []}, "sda1": {"links": {"ids": ["ata-Crucial_CT128MX100SSD1_14360D24711A-part1", "wwn-0x500a07510d24711a-part1"], "uuids": ["016db8d7-b29f-4fab-a776-a5a46b4197a9"], "labels": [], "masters": []}, "start": "2048", "sectors": "241680384", "sectorsize": 512, "size": "115.24 GB", "uuid": "016db8d7-b29f-4fab-a776-a5a46b4197a9", "holders": []}}, "rotational": "0", "scheduler_mode": "mq-deadline", "sectors": "250069680", "sectorsize": "512", "size": "119.24 GB", "host": "SATA controller: NVIDIA Corporation MCP79 AHCI Controller (rev b1)", "holders": []}, "loop5": {"virtual": 1, "links": {"ids": [], "uuids": [], "labels": [], "masters": []}, "vendor": null, "model": null, "sas_address": null, "sas_device_handle": null, "removable": "0", "support_discard": "0", "partitions": {}, "rotational": "1", "scheduler_mode": "mq-deadline", "sectors": "0", "sectorsize": "512", "size": "0.00 Bytes", "host": "", "holders": []}, "loop3": {"virtual": 1, "links": {"ids": [], "uuids": [], "labels": [], "masters": []}, "vendor": null, "model": null, "sas_address": null, "sas_device_handle": null, "removable": "0", "support_discard": "0", "partitions": {}, "rotational": "1", "scheduler_mode": "mq-deadline", "sectors": "0", "sectorsize": "512", "size": "0.00 Bytes", "host": "", "holders": []}}, "ansible_device_links": {"ids": {"sr0": ["ata-Slimtype_DVD_A_DS8A3S_908010127786"], "sda5": ["ata-Crucial_CT128MX100SSD1_14360D24711A-part5", "wwn-0x500a07510d24711a-part5"], "sda1": ["ata-Crucial_CT128MX100SSD1_14360D24711A-part1", "wwn-0x500a07510d24711a-part1"], "sda2": ["ata-Crucial_CT128MX100SSD1_14360D24711A-part2", "wwn-0x500a07510d24711a-part2"], "sda": ["ata-Crucial_CT128MX100SSD1_14360D24711A", "wwn-0x500a07510d24711a"]}, "uuids": {"sda5": ["32efbbe3-d19a-49e8-aa8b-b36137cd9343"], "sda1": ["016db8d7-b29f-4fab-a776-a5a46b4197a9"]}, "labels": {}, "masters": {}}, "ansible_uptime_seconds": 898, "ansible_mounts": [{"mount": "/", "device": "/dev/sda1", "fstype": "ext4", "options": "rw,relatime,errors=remount-ro", "size_total": 121261375488, "size_available": 6932480000, "block_size": 4096, "block_total": 29604828, "block_available": 1692500, "block_used": 27912328, "inode_total": 7553024, "inode_available": 6708882, "inode_used": 844142, "uuid": "016db8d7-b29f-4fab-a776-a5a46b4197a9"}, {"mount": "/snap/core/11606", "device": "/dev/loop1", "fstype": "squashfs", "options": "ro,nodev,relatime", "size_total": 104202240, "size_available": 0, "block_size": 131072, "block_total": 795, "block_available": 0, "block_used": 795, "inode_total": 12850, "inode_available": 0, "inode_used": 12850, "uuid": "N/A"}, {"mount": "/snap/core/11993", "device": "/dev/loop0", "fstype": "squashfs", "options": "ro,nodev,relatime", "size_total": 104333312, "size_available": 0, "block_size": 131072, "block_total": 796, "block_available": 0, "block_used": 796, "inode_total": 12841, "inode_available": 0, "inode_used": 12841, "uuid": "N/A"}], "ansible_cmdline": {"BOOT_IMAGE": "/boot/vmlinuz-5.10.0-10-amd64", "root": "UUID=016db8d7-b29f-4fab-a776-a5a46b4197a9", "ro": true, "quiet": true}, "ansible_proc_cmdline": {"BOOT_IMAGE": "/boot/vmlinuz-5.10.0-10-amd64", "root": "UUID=016db8d7-b29f-4fab-a776-a5a46b4197a9", "ro": true, "quiet": true}, "ansible_iscsi_iqn": "", "ansible_fibre_channel_wwn": [], "gather_subset": ["all"], "module_setup": true}, "invocation": {"module_args": {"gather_subset": ["all"], "gather_timeout": 10, "filter": "*", "fact_path": "/etc/ansible/facts.d"}}}\r\n', b"OpenSSH_8.4p1 Ubuntu-6ubuntu2.1, OpenSSL 1.1.1l 24 Aug 2021\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 19: include /etc/ssh/ssh_config.d/*.conf matched no files\r\ndebug1: /etc/ssh/ssh_config line 21: Applying options for *\r\ndebug2: resolve_canonicalize: hostname 192.168.1.96 is address\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts' -> '/home/<src-usr>/.ssh/known_hosts'\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts2' -> '/home/<src-usr>/.ssh/known_hosts2'\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 270340\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\nShared connection to 192.168.1.96 closed.\r\n")
<192.168.1.96> ESTABLISH SSH CONNECTION FOR USER: <dst-usr>
<192.168.1.96> SSH: ansible.cfg set ssh_args: (-C)(-o)(ControlMaster=auto)(-o)(ControlPersist=60s)
<192.168.1.96> SSH: ANSIBLE_REMOTE_USER/remote_user/ansible_user/user/-u set: (-o)(User="<dst-usr>")
<192.168.1.96> SSH: ANSIBLE_TIMEOUT/timeout set: (-o)(ConnectTimeout=10)
<192.168.1.96> SSH: PlayContext set ssh_common_args: ()
<192.168.1.96> SSH: PlayContext set ssh_extra_args: ()
<192.168.1.96> SSH: found only ControlPersist; added ControlPath: (-o)(ControlPath=/home/<src-usr>/.ansible/cp/b2666d2a44)
<192.168.1.96> SSH: EXEC sshpass -d10 ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o 'User="<dst-usr>"' -o ConnectTimeout=10 -o ControlPath=/home/<src-usr>/.ansible/cp/b2666d2a44 192.168.1.96 '/bin/sh -c '"'"'rm -f -r /home/<dst-usr>/.ansible/tmp/ansible-tmp-1643661263.7131765-270316-213422666024393/ > /dev/null 2>&1 && sleep 0'"'"''
<192.168.1.96> (0, b'', b"OpenSSH_8.4p1 Ubuntu-6ubuntu2.1, OpenSSL 1.1.1l 24 Aug 2021\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 19: include /etc/ssh/ssh_config.d/*.conf matched no files\r\ndebug1: /etc/ssh/ssh_config line 21: Applying options for *\r\ndebug2: resolve_canonicalize: hostname 192.168.1.96 is address\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts' -> '/home/<src-usr>/.ssh/known_hosts'\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts2' -> '/home/<src-usr>/.ssh/known_hosts2'\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 270340\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\nTERM environment variable not set.\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n")
ok: [<dst-host>]
META: ran handlers
TASK [SUDO | Group sudo presence] ***********************************************************
task path: /home/<src-usr>/git/forga-tool-debian/tasks/become_user_cfg.yml:7
<192.168.1.96> ESTABLISH SSH CONNECTION FOR USER: <dst-usr>
<192.168.1.96> SSH: ansible.cfg set ssh_args: (-C)(-o)(ControlMaster=auto)(-o)(ControlPersist=60s)
<192.168.1.96> SSH: ANSIBLE_REMOTE_USER/remote_user/ansible_user/user/-u set: (-o)(User="<dst-usr>")
<192.168.1.96> SSH: ANSIBLE_TIMEOUT/timeout set: (-o)(ConnectTimeout=10)
<192.168.1.96> SSH: PlayContext set ssh_common_args: ()
<192.168.1.96> SSH: PlayContext set ssh_extra_args: ()
<192.168.1.96> SSH: found only ControlPersist; added ControlPath: (-o)(ControlPath=/home/<src-usr>/.ansible/cp/b2666d2a44)
<192.168.1.96> SSH: EXEC sshpass -d10 ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o 'User="<dst-usr>"' -o ConnectTimeout=10 -o ControlPath=/home/<src-usr>/.ansible/cp/b2666d2a44 192.168.1.96 '/bin/sh -c '"'"'echo ~<dst-usr> && sleep 0'"'"''
<192.168.1.96> (0, b'/home/<dst-usr>\n', b"OpenSSH_8.4p1 Ubuntu-6ubuntu2.1, OpenSSL 1.1.1l 24 Aug 2021\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 19: include /etc/ssh/ssh_config.d/*.conf matched no files\r\ndebug1: /etc/ssh/ssh_config line 21: Applying options for *\r\ndebug2: resolve_canonicalize: hostname 192.168.1.96 is address\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts' -> '/home/<src-usr>/.ssh/known_hosts'\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts2' -> '/home/<src-usr>/.ssh/known_hosts2'\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 270340\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\nTERM environment variable not set.\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n")
<192.168.1.96> ESTABLISH SSH CONNECTION FOR USER: <dst-usr>
<192.168.1.96> SSH: ansible.cfg set ssh_args: (-C)(-o)(ControlMaster=auto)(-o)(ControlPersist=60s)
<192.168.1.96> SSH: ANSIBLE_REMOTE_USER/remote_user/ansible_user/user/-u set: (-o)(User="<dst-usr>")
<192.168.1.96> SSH: ANSIBLE_TIMEOUT/timeout set: (-o)(ConnectTimeout=10)
<192.168.1.96> SSH: PlayContext set ssh_common_args: ()
<192.168.1.96> SSH: PlayContext set ssh_extra_args: ()
<192.168.1.96> SSH: found only ControlPersist; added ControlPath: (-o)(ControlPath=/home/<src-usr>/.ansible/cp/b2666d2a44)
<192.168.1.96> SSH: EXEC sshpass -d10 ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o 'User="<dst-usr>"' -o ConnectTimeout=10 -o ControlPath=/home/<src-usr>/.ansible/cp/b2666d2a44 192.168.1.96 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /home/<dst-usr>/.ansible/tmp `"&& mkdir "` echo /home/<dst-usr>/.ansible/tmp/ansible-tmp-1643661265.8693297-270354-143642067721707 `" && echo ansible-tmp-1643661265.8693297-270354-143642067721707="` echo /home/<dst-usr>/.ansible/tmp/ansible-tmp-1643661265.8693297-270354-143642067721707 `" ) && sleep 0'"'"''
<192.168.1.96> (0, b'ansible-tmp-1643661265.8693297-270354-143642067721707=/home/<dst-usr>/.ansible/tmp/ansible-tmp-1643661265.8693297-270354-143642067721707\n', b"OpenSSH_8.4p1 Ubuntu-6ubuntu2.1, OpenSSL 1.1.1l 24 Aug 2021\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 19: include /etc/ssh/ssh_config.d/*.conf matched no files\r\ndebug1: /etc/ssh/ssh_config line 21: Applying options for *\r\ndebug2: resolve_canonicalize: hostname 192.168.1.96 is address\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts' -> '/home/<src-usr>/.ssh/known_hosts'\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts2' -> '/home/<src-usr>/.ssh/known_hosts2'\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 270340\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\nTERM environment variable not set.\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n")
Including module_utils file ansible/__init__.py
Including module_utils file ansible/module_utils/__init__.py
Including module_utils file ansible/module_utils/_text.py
Including module_utils file ansible/module_utils/basic.py
Including module_utils file ansible/module_utils/common/_collections_compat.py
Including module_utils file ansible/module_utils/common/__init__.py
Including module_utils file ansible/module_utils/common/_json_compat.py
Including module_utils file ansible/module_utils/common/_utils.py
Including module_utils file ansible/module_utils/common/file.py
Including module_utils file ansible/module_utils/common/parameters.py
Including module_utils file ansible/module_utils/common/collections.py
Including module_utils file ansible/module_utils/common/process.py
Including module_utils file ansible/module_utils/common/sys_info.py
Including module_utils file ansible/module_utils/common/text/converters.py
Including module_utils file ansible/module_utils/common/text/__init__.py
Including module_utils file ansible/module_utils/common/text/formatters.py
Including module_utils file ansible/module_utils/common/validation.py
Including module_utils file ansible/module_utils/common/warnings.py
Including module_utils file ansible/module_utils/compat/selectors.py
Including module_utils file ansible/module_utils/compat/__init__.py
Including module_utils file ansible/module_utils/compat/_selectors2.py
Including module_utils file ansible/module_utils/distro/__init__.py
Including module_utils file ansible/module_utils/distro/_distro.py
Including module_utils file ansible/module_utils/parsing/convert_bool.py
Including module_utils file ansible/module_utils/parsing/__init__.py
Including module_utils file ansible/module_utils/pycompat24.py
Including module_utils file ansible/module_utils/six/__init__.py
Using module file /usr/lib/python3/dist-packages/ansible/modules/group.py
<192.168.1.96> PUT /home/<src-usr>/.ansible/tmp/ansible-local-270192pmm038or/tmpig50_c5i TO /home/<dst-usr>/.ansible/tmp/ansible-tmp-1643661265.8693297-270354-143642067721707/AnsiballZ_group.py
<192.168.1.96> SSH: disable batch mode for sshpass: (-o)(BatchMode=no)
<192.168.1.96> SSH: ansible.cfg set ssh_args: (-C)(-o)(ControlMaster=auto)(-o)(ControlPersist=60s)
<192.168.1.96> SSH: ANSIBLE_REMOTE_USER/remote_user/ansible_user/user/-u set: (-o)(User="<dst-usr>")
<192.168.1.96> SSH: ANSIBLE_TIMEOUT/timeout set: (-o)(ConnectTimeout=10)
<192.168.1.96> SSH: PlayContext set ssh_common_args: ()
<192.168.1.96> SSH: PlayContext set sftp_extra_args: ()
<192.168.1.96> SSH: found only ControlPersist; added ControlPath: (-o)(ControlPath=/home/<src-usr>/.ansible/cp/b2666d2a44)
<192.168.1.96> SSH: EXEC sshpass -d10 sftp -o BatchMode=no -b - -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o 'User="<dst-usr>"' -o ConnectTimeout=10 -o ControlPath=/home/<src-usr>/.ansible/cp/b2666d2a44 '[192.168.1.96]'
<192.168.1.96> (0, b'sftp> put /home/<src-usr>/.ansible/tmp/ansible-local-270192pmm038or/tmpig50_c5i /home/<dst-usr>/.ansible/tmp/ansible-tmp-1643661265.8693297-270354-143642067721707/AnsiballZ_group.py\n', b'OpenSSH_8.4p1 Ubuntu-6ubuntu2.1, OpenSSL 1.1.1l 24 Aug 2021\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 19: include /etc/ssh/ssh_config.d/*.conf matched no files\r\ndebug1: /etc/ssh/ssh_config line 21: Applying options for *\r\ndebug2: resolve_canonicalize: hostname 192.168.1.96 is address\r\ndebug3: expanded UserKnownHostsFile \'~/.ssh/known_hosts\' -> \'/home/<src-usr>/.ssh/known_hosts\'\r\ndebug3: expanded UserKnownHostsFile \'~/.ssh/known_hosts2\' -> \'/home/<src-usr>/.ssh/known_hosts2\'\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 270340\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\ndebug2: Remote version: 3\r\ndebug2: Server supports extension "posix-rename@openssh.com" revision 1\r\ndebug2: Server supports extension "statvfs@openssh.com" revision 2\r\ndebug2: Server supports extension "fstatvfs@openssh.com" revision 2\r\ndebug2: Server supports extension "hardlink@openssh.com" revision 1\r\ndebug2: Server supports extension "fsync@openssh.com" revision 1\r\ndebug2: Server supports extension "lsetstat@openssh.com" revision 1\r\ndebug3: Sent message fd 3 T:16 I:1\r\ndebug3: SSH_FXP_REALPATH . -> /home/<dst-usr> size 0\r\ndebug3: Looking up /home/<src-usr>/.ansible/tmp/ansible-local-270192pmm038or/tmpig50_c5i\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/<dst-usr>/.ansible/tmp/ansible-tmp-1643661265.8693297-270354-143642067721707/AnsiballZ_group.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:20791\r\ndebug3: SSH2_FXP_STATUS 0\r\ndebug3: In write loop, ack for 5 32768 bytes at 32768\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 20791 bytes at 98304\r\ndebug3: Sent message SSH2_FXP_CLOSE I:4\r\ndebug3: SSH2_FXP_STATUS 0\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n')
<192.168.1.96> ESTABLISH SSH CONNECTION FOR USER: <dst-usr>
<192.168.1.96> SSH: ansible.cfg set ssh_args: (-C)(-o)(ControlMaster=auto)(-o)(ControlPersist=60s)
<192.168.1.96> SSH: ANSIBLE_REMOTE_USER/remote_user/ansible_user/user/-u set: (-o)(User="<dst-usr>")
<192.168.1.96> SSH: ANSIBLE_TIMEOUT/timeout set: (-o)(ConnectTimeout=10)
<192.168.1.96> SSH: PlayContext set ssh_common_args: ()
<192.168.1.96> SSH: PlayContext set ssh_extra_args: ()
<192.168.1.96> SSH: found only ControlPersist; added ControlPath: (-o)(ControlPath=/home/<src-usr>/.ansible/cp/b2666d2a44)
<192.168.1.96> SSH: EXEC sshpass -d10 ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o 'User="<dst-usr>"' -o ConnectTimeout=10 -o ControlPath=/home/<src-usr>/.ansible/cp/b2666d2a44 192.168.1.96 '/bin/sh -c '"'"'chmod u+x /home/<dst-usr>/.ansible/tmp/ansible-tmp-1643661265.8693297-270354-143642067721707/ /home/<dst-usr>/.ansible/tmp/ansible-tmp-1643661265.8693297-270354-143642067721707/AnsiballZ_group.py && sleep 0'"'"''
<192.168.1.96> (0, b'', b"OpenSSH_8.4p1 Ubuntu-6ubuntu2.1, OpenSSL 1.1.1l 24 Aug 2021\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 19: include /etc/ssh/ssh_config.d/*.conf matched no files\r\ndebug1: /etc/ssh/ssh_config line 21: Applying options for *\r\ndebug2: resolve_canonicalize: hostname 192.168.1.96 is address\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts' -> '/home/<src-usr>/.ssh/known_hosts'\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts2' -> '/home/<src-usr>/.ssh/known_hosts2'\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 270340\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\nTERM environment variable not set.\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n")
<192.168.1.96> ESTABLISH SSH CONNECTION FOR USER: <dst-usr>
<192.168.1.96> SSH: ansible.cfg set ssh_args: (-C)(-o)(ControlMaster=auto)(-o)(ControlPersist=60s)
<192.168.1.96> SSH: ANSIBLE_REMOTE_USER/remote_user/ansible_user/user/-u set: (-o)(User="<dst-usr>")
<192.168.1.96> SSH: ANSIBLE_TIMEOUT/timeout set: (-o)(ConnectTimeout=10)
<192.168.1.96> SSH: PlayContext set ssh_common_args: ()
<192.168.1.96> SSH: PlayContext set ssh_extra_args: ()
<192.168.1.96> SSH: found only ControlPersist; added ControlPath: (-o)(ControlPath=/home/<src-usr>/.ansible/cp/b2666d2a44)
<192.168.1.96> SSH: EXEC sshpass -d10 ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o 'User="<dst-usr>"' -o ConnectTimeout=10 -o ControlPath=/home/<src-usr>/.ansible/cp/b2666d2a44 -tt 192.168.1.96 '/bin/sh -c '"'"'sudo -H -S -p "[sudo via ansible, key=igzqyatpwdpvzzgcnjsovpvxpkehdvqy] password:" -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-igzqyatpwdpvzzgcnjsovpvxpkehdvqy ; /usr/bin/python3 /home/<dst-usr>/.ansible/tmp/ansible-tmp-1643661265.8693297-270354-143642067721707/AnsiballZ_group.py'"'"'"'"'"'"'"'"' && sleep 0'"'"''
<192.168.1.96> ESTABLISH SSH CONNECTION FOR USER: <dst-usr>
<192.168.1.96> SSH: ansible.cfg set ssh_args: (-C)(-o)(ControlMaster=auto)(-o)(ControlPersist=60s)
<192.168.1.96> SSH: ANSIBLE_REMOTE_USER/remote_user/ansible_user/user/-u set: (-o)(User="<dst-usr>")
<192.168.1.96> SSH: ANSIBLE_TIMEOUT/timeout set: (-o)(ConnectTimeout=10)
<192.168.1.96> SSH: PlayContext set ssh_common_args: ()
<192.168.1.96> SSH: PlayContext set ssh_extra_args: ()
<192.168.1.96> SSH: found only ControlPersist; added ControlPath: (-o)(ControlPath=/home/<src-usr>/.ansible/cp/b2666d2a44)
<192.168.1.96> SSH: EXEC sshpass -d10 ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o 'User="<dst-usr>"' -o ConnectTimeout=10 -o ControlPath=/home/<src-usr>/.ansible/cp/b2666d2a44 192.168.1.96 '/bin/sh -c '"'"'rm -f -r /home/<dst-usr>/.ansible/tmp/ansible-tmp-1643661265.8693297-270354-143642067721707/ > /dev/null 2>&1 && sleep 0'"'"''
<192.168.1.96> (0, b'', b"OpenSSH_8.4p1 Ubuntu-6ubuntu2.1, OpenSSL 1.1.1l 24 Aug 2021\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 19: include /etc/ssh/ssh_config.d/*.conf matched no files\r\ndebug1: /etc/ssh/ssh_config line 21: Applying options for *\r\ndebug2: resolve_canonicalize: hostname 192.168.1.96 is address\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts' -> '/home/<src-usr>/.ssh/known_hosts'\r\ndebug3: expanded UserKnownHostsFile '~/.ssh/known_hosts2' -> '/home/<src-usr>/.ssh/known_hosts2'\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 270340\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 3\r\nTERM environment variable not set.\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n")
fatal: [<dst-host>]: FAILED! => {
"msg": "Timeout (12s) waiting for privilege escalation prompt: "
}
PLAY RECAP **********************************************************************************
<dst-host> : ok=1 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0
zsh: exit 2 ansible-playbook -vvvvv -i inventory -e host_list=<dst-host> --ask-become-pass
Workaround
- Login to
dest_a
- Set
bash
shell for userroot
&{{ my_user }}
- Logout
-
✅ Playtasks/become_user_cfg.yml
fromsrc_b
todest_a
Edited by freezed