ansible-collections / community.general

Ansible Community General Collection
https://galaxy.ansible.com/ui/repo/published/community/general/
GNU General Public License v3.0
814 stars 1.49k forks source link

community.general.docker_container throws fatal error deprecate() got an unexpected keyword argument 'collection_name' #1340

Closed maglite4cell closed 3 years ago

maglite4cell commented 3 years ago
SUMMARY

When trying to create a docker container, a fatal error is thrown. stderr: deprecate() got an unexpected keyword argument 'collection_name'

ISSUE TYPE
COMPONENT NAME

community.general.docker_container

ANSIBLE VERSION
ansible 2.9.6
  config file = /etc/ansible/ansible.cfg
  configured module search path = ['/home/gschellhas/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/lib/python3/dist-packages/ansible
  executable location = /usr/bin/ansible
  python version = 3.8.2 (default, Jul 16 2020, 14:00:26) [GCC 9.3.0]
CONFIGURATION
No Ouput
OS / ENVIRONMENT

Ubuntu 20.04.1 LTS

STEPS TO REPRODUCE

Do on remote Server

  1. Build Ubuntu 20.04.1 LTS
  2. Create docker group
  3. Add user to docker group
  4. Install 'docker' module for python3 Run Playbook to create a docker container
---
- hosts: all
  become: true

  tasks:
    - name: Ensure group "docker" exists
      group:
        name: docker
        state: present

    - name: Add user to docker group
      user:
        name: gschellhas
        group: docker

    - name: Install docker module for python
      ansible.builtin.pip:
        name: docker[tls]

    - name: Install CentOS
      community.general.docker_container:
        name: bingo
        image: 'docker.io/centos/postgresql-96-centos7'
        state: 'started'
EXPECTED RESULTS

Expected full output Expected to pass and not Fail out

ACTUAL RESULTS
gschellhas@imsavlt360:/mnt/c/Users/gschellhas/Desktop/ansible/Docker_Demo$ ansible-playbook playbook.yml -u gschellhas -kK -vvvv
ansible-playbook 2.9.6
  config file = /etc/ansible/ansible.cfg
  configured module search path = ['/home/gschellhas/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/lib/python3/dist-packages/ansible
  executable location = /usr/bin/ansible-playbook
  python version = 3.8.2 (default, Jul 16 2020, 14:00:26) [GCC 9.3.0]
Using /etc/ansible/ansible.cfg as config file
SSH password:
BECOME password[defaults to SSH password]:
setting up inventory plugins
host_list declined parsing /etc/ansible/hosts as it did not pass its verify_file() method
script declined parsing /etc/ansible/hosts as it did not pass its verify_file() method
auto declined parsing /etc/ansible/hosts as it did not pass its verify_file() method
Parsed /etc/ansible/hosts inventory source with ini plugin
Loading callback plugin default of type stdout, v2.0 from /usr/lib/python3/dist-packages/ansible/plugins/callback/default.py

PLAYBOOK: playbook.yml *************************************************************************************************
Positional arguments: playbook.yml
verbosity: 4
ask_pass: True
remote_user: gschellhas
connection: smart
timeout: 10
become_method: sudo
become_ask_pass: True
tags: ('all',)
inventory: ('/etc/ansible/hosts',)
forks: 5
1 plays in playbook.yml

PLAY [all] *************************************************************************************************************

TASK [Gathering Facts] *************************************************************************************************
task path: /mnt/c/Users/gschellhas/Desktop/ansible/Docker_Demo/playbook.yml:2
<192.168.1.178> ESTABLISH SSH CONNECTION FOR USER: gschellhas
<192.168.1.178> SSH: EXEC sshpass -d11 ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o 'User="gschellhas"' -o ConnectTimeout=10 -o ControlPath=/home/gschellhas/.ansible/cp/409e225f64 192.168.1.178 '/bin/sh -c '"'"'echo ~gschellhas && sleep 0'"'"''
<192.168.1.178> (0, b'/home/gschellhas\n', b'OpenSSH_8.2p1 Ubuntu-4ubuntu0.1, OpenSSL 1.1.1f  31 Mar 2020\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.178 is address\r\ndebug1: auto-mux: Trying existing master\r\ndebug1: Control socket "/home/gschellhas/.ansible/cp/409e225f64" does not exist\r\ndebug2: ssh_connect_direct\r\ndebug1: Connecting to 192.168.1.178 [192.168.1.178] port 22.\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug1: fd 3 clearing O_NONBLOCK\r\ndebug1: Connection established.\r\ndebug3: timeout: 10000 ms remain after connect\r\ndebug1: identity file /home/gschellhas/.ssh/id_rsa type -1\r\ndebug1: identity file /home/gschellhas/.ssh/id_rsa-cert type -1\r\ndebug1: identity file /home/gschellhas/.ssh/id_dsa type -1\r\ndebug1: identity file /home/gschellhas/.ssh/id_dsa-cert type -1\r\ndebug1: identity file /home/gschellhas/.ssh/id_ecdsa type -1\r\ndebug1: identity file /home/gschellhas/.ssh/id_ecdsa-cert type -1\r\ndebug1: identity file /home/gschellhas/.ssh/id_ecdsa_sk type -1\r\ndebug1: identity file /home/gschellhas/.ssh/id_ecdsa_sk-cert type -1\r\ndebug1: identity file /home/gschellhas/.ssh/id_ed25519 type -1\r\ndebug1: identity file /home/gschellhas/.ssh/id_ed25519-cert type -1\r\ndebug1: identity file /home/gschellhas/.ssh/id_ed25519_sk type -1\r\ndebug1: identity file /home/gschellhas/.ssh/id_ed25519_sk-cert type -1\r\ndebug1: identity file /home/gschellhas/.ssh/id_xmss type -1\r\ndebug1: identity file /home/gschellhas/.ssh/id_xmss-cert type -1\r\ndebug1: Local version string SSH-2.0-OpenSSH_8.2p1 Ubuntu-4ubuntu0.1\r\ndebug1: Remote protocol version 2.0, remote software version OpenSSH_8.2p1 Ubuntu-4ubuntu0.1\r\ndebug1: match: OpenSSH_8.2p1 Ubuntu-4ubuntu0.1 pat OpenSSH* compat 0x04000000\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug1: Authenticating to 192.168.1.178:22 as \'gschellhas\'\r\ndebug3: hostkeys_foreach: reading file "/home/gschellhas/.ssh/known_hosts"\r\ndebug3: record_hostkey: found key type ECDSA in file /home/gschellhas/.ssh/known_hosts:1\r\ndebug3: load_hostkeys: loaded 1 keys from 192.168.1.178\r\ndebug3: order_hostkeyalgs: prefer hostkeyalgs: ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,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,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,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,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,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:/IVMYgCarb4le+uVk9RQVPiRscMuWhnXZa04oBdtaZ0\r\ndebug3: hostkeys_foreach: reading file "/home/gschellhas/.ssh/known_hosts"\r\ndebug3: record_hostkey: found key type ECDSA in file /home/gschellhas/.ssh/known_hosts:1\r\ndebug3: load_hostkeys: loaded 1 keys from 192.168.1.178\r\ndebug1: Host \'192.168.1.178\' is known and matches the ECDSA host key.\r\ndebug1: Found key in /home/gschellhas/.ssh/known_hosts:1\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/gschellhas/.ssh/id_rsa \r\ndebug1: Will attempt key: /home/gschellhas/.ssh/id_dsa \r\ndebug1: Will attempt key: /home/gschellhas/.ssh/id_ecdsa \r\ndebug1: Will attempt key: /home/gschellhas/.ssh/id_ecdsa_sk \r\ndebug1: Will attempt key: /home/gschellhas/.ssh/id_ed25519 \r\ndebug1: Will attempt key: /home/gschellhas/.ssh/id_ed25519_sk \r\ndebug1: Will attempt key: /home/gschellhas/.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>\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: Trying private key: /home/gschellhas/.ssh/id_rsa\r\ndebug3: no such identity: /home/gschellhas/.ssh/id_rsa: No such file or directory\r\ndebug1: Trying private key: /home/gschellhas/.ssh/id_dsa\r\ndebug3: no such identity: /home/gschellhas/.ssh/id_dsa: No such file or directory\r\ndebug1: Trying private key: /home/gschellhas/.ssh/id_ecdsa\r\ndebug3: no such identity: /home/gschellhas/.ssh/id_ecdsa: No such file or directory\r\ndebug1: Trying private key: /home/gschellhas/.ssh/id_ecdsa_sk\r\ndebug3: no such identity: /home/gschellhas/.ssh/id_ecdsa_sk: No such file or directory\r\ndebug1: Trying private key: /home/gschellhas/.ssh/id_ed25519\r\ndebug3: no such identity: /home/gschellhas/.ssh/id_ed25519: No such file or directory\r\ndebug1: Trying private key: /home/gschellhas/.ssh/id_ed25519_sk\r\ndebug3: no such identity: /home/gschellhas/.ssh/id_ed25519_sk: No such file or directory\r\ndebug1: Trying private key: /home/gschellhas/.ssh/id_xmss\r\ndebug3: no such identity: /home/gschellhas/.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.178 ([192.168.1.178]:22).\r\ndebug1: setting up multiplex master socket\r\ndebug3: muxserver_listen: temporary control path /home/gschellhas/.ansible/cp/409e225f64.WOWFPPkXNu53GgRw\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/gschellhas/.ansible/cp/409e225f64]\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 3593\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 slave 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 = 3595\r\ndebug3: mux_client_request_session: session request sent\r\ndebug3: mux_master_read_cb: channel 1 packet type 0x10000002 len 106\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 ~gschellhas && 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 = C.UTF-8\r\ndebug2: channel 2: request env confirm 0\r\ndebug3: send packet: type 98\r\ndebug1: Sending command: /bin/sh -c \'echo ~gschellhas && 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\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\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: 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\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: set_control_persist_exit_time: schedule exit in 60 seconds\r\ndebug2: Received exit status from master 0\r\n')
<192.168.1.178> ESTABLISH SSH CONNECTION FOR USER: gschellhas
<192.168.1.178> SSH: EXEC sshpass -d11 ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o 'User="gschellhas"' -o ConnectTimeout=10 -o ControlPath=/home/gschellhas/.ansible/cp/409e225f64 192.168.1.178 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /home/gschellhas/.ansible/tmp/ansible-tmp-1605889515.2299314-137346706671177 `" && echo ansible-tmp-1605889515.2299314-137346706671177="` echo /home/gschellhas/.ansible/tmp/ansible-tmp-1605889515.2299314-137346706671177 `" ) && sleep 0'"'"''
<192.168.1.178> (0, b'ansible-tmp-1605889515.2299314-137346706671177=/home/gschellhas/.ansible/tmp/ansible-tmp-1605889515.2299314-137346706671177\n', b'OpenSSH_8.2p1 Ubuntu-4ubuntu0.1, OpenSSL 1.1.1f  31 Mar 2020\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.178 is address\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 = 3595\r\ndebug3: mux_client_request_session: session request sent\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n')
<192.168.1.178> Attempting python interpreter discovery
<192.168.1.178> ESTABLISH SSH CONNECTION FOR USER: gschellhas
<192.168.1.178> SSH: EXEC sshpass -d11 ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o 'User="gschellhas"' -o ConnectTimeout=10 -o ControlPath=/home/gschellhas/.ansible/cp/409e225f64 192.168.1.178 '/bin/sh -c '"'"'echo PLATFORM; uname; echo FOUND; command -v '"'"'"'"'"'"'"'"'/usr/bin/python'"'"'"'"'"'"'"'"'; command -v '"'"'"'"'"'"'"'"'python3.7'"'"'"'"'"'"'"'"'; command -v '"'"'"'"'"'"'"'"'python3.6'"'"'"'"'"'"'"'"'; command -v '"'"'"'"'"'"'"'"'python3.5'"'"'"'"'"'"'"'"'; command -v '"'"'"'"'"'"'"'"'python2.7'"'"'"'"'"'"'"'"'; command -v '"'"'"'"'"'"'"'"'python2.6'"'"'"'"'"'"'"'"'; command -v '"'"'"'"'"'"'"'"'/usr/libexec/platform-python'"'"'"'"'"'"'"'"'; command -v '"'"'"'"'"'"'"'"'/usr/bin/python3'"'"'"'"'"'"'"'"'; command -v '"'"'"'"'"'"'"'"'python'"'"'"'"'"'"'"'"'; echo ENDFOUND && sleep 0'"'"''
<192.168.1.178> (0, b'PLATFORM\nLinux\nFOUND\n/usr/bin/python3\nENDFOUND\n', b'OpenSSH_8.2p1 Ubuntu-4ubuntu0.1, OpenSSL 1.1.1f  31 Mar 2020\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.178 is address\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 = 3595\r\ndebug3: mux_client_request_session: session request sent\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n')
<192.168.1.178> ESTABLISH SSH CONNECTION FOR USER: gschellhas
<192.168.1.178> SSH: EXEC sshpass -d11 ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o 'User="gschellhas"' -o ConnectTimeout=10 -o ControlPath=/home/gschellhas/.ansible/cp/409e225f64 192.168.1.178 '/bin/sh -c '"'"'/usr/bin/python3 && sleep 0'"'"''
<192.168.1.178> (0, b'{"platform_dist_result": [], "osrelease_content": "NAME=\\"Ubuntu\\"\\nVERSION=\\"20.04.1 LTS (Focal Fossa)\\"\\nID=ubuntu\\nID_LIKE=debian\\nPRETTY_NAME=\\"Ubuntu 20.04.1 LTS\\"\\nVERSION_ID=\\"20.04\\"\\nHOME_URL=\\"https://www.ubuntu.com/\\"\\nSUPPORT_URL=\\"https://help.ubuntu.com/\\"\\nBUG_REPORT_URL=\\"https://bugs.launchpad.net/ubuntu/\\"\\nPRIVACY_POLICY_URL=\\"https://www.ubuntu.com/legal/terms-and-policies/privacy-policy\\"\\nVERSION_CODENAME=focal\\nUBUNTU_CODENAME=focal\\n"}\n', b'OpenSSH_8.2p1 Ubuntu-4ubuntu0.1, OpenSSL 1.1.1f  31 Mar 2020\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.178 is address\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 = 3595\r\ndebug3: mux_client_request_session: session request sent\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n')
Using module file /usr/lib/python3/dist-packages/ansible/modules/system/setup.py
<192.168.1.178> PUT /home/gschellhas/.ansible/tmp/ansible-local-3585h_05m3k2/tmpg68j5nl0 TO /home/gschellhas/.ansible/tmp/ansible-tmp-1605889515.2299314-137346706671177/AnsiballZ_setup.py
<192.168.1.178> SSH: EXEC sshpass -d11 sftp -o BatchMode=no -b - -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o 'User="gschellhas"' -o ConnectTimeout=10 -o ControlPath=/home/gschellhas/.ansible/cp/409e225f64 '[192.168.1.178]'
<192.168.1.178> (0, b'sftp> put /home/gschellhas/.ansible/tmp/ansible-local-3585h_05m3k2/tmpg68j5nl0 /home/gschellhas/.ansible/tmp/ansible-tmp-1605889515.2299314-137346706671177/AnsiballZ_setup.py\n', b'OpenSSH_8.2p1 Ubuntu-4ubuntu0.1, OpenSSL 1.1.1f  31 Mar 2020\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.178 is address\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 = 3595\r\ndebug3: mux_client_request_session: session request sent\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/gschellhas size 0\r\ndebug3: Looking up /home/gschellhas/.ansible/tmp/ansible-local-3585h_05m3k2/tmpg68j5nl0\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/gschellhas/.ansible/tmp/ansible-tmp-1605889515.2299314-137346706671177/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:25826\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 25826 bytes at 229376\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.178> ESTABLISH SSH CONNECTION FOR USER: gschellhas
<192.168.1.178> SSH: EXEC sshpass -d11 ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o 'User="gschellhas"' -o ConnectTimeout=10 -o ControlPath=/home/gschellhas/.ansible/cp/409e225f64 192.168.1.178 '/bin/sh -c '"'"'chmod u+x /home/gschellhas/.ansible/tmp/ansible-tmp-1605889515.2299314-137346706671177/ /home/gschellhas/.ansible/tmp/ansible-tmp-1605889515.2299314-137346706671177/AnsiballZ_setup.py && sleep 0'"'"''
<192.168.1.178> (0, b'', b'OpenSSH_8.2p1 Ubuntu-4ubuntu0.1, OpenSSL 1.1.1f  31 Mar 2020\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.178 is address\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 = 3595\r\ndebug3: mux_client_request_session: session request sent\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n')
<192.168.1.178> ESTABLISH SSH CONNECTION FOR USER: gschellhas
<192.168.1.178> SSH: EXEC sshpass -d11 ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o 'User="gschellhas"' -o ConnectTimeout=10 -o ControlPath=/home/gschellhas/.ansible/cp/409e225f64 -tt 192.168.1.178 '/bin/sh -c '"'"'sudo -H -S  -p "[sudo via ansible, key=svehhgscxyhltbhrbtacvgntsghebjsc] password:" -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-svehhgscxyhltbhrbtacvgntsghebjsc ; /usr/bin/python3 /home/gschellhas/.ansible/tmp/ansible-tmp-1605889515.2299314-137346706671177/AnsiballZ_setup.py'"'"'"'"'"'"'"'"' && sleep 0'"'"''
Escalation succeeded
<192.168.1.178> (0, b'\r\n\r\n{"ansible_facts": {"ansible_ssh_host_key_rsa_public": "AAAAB3NzaC1yc2EAAAADAQABAAABgQDCfdA3PfG1oV7o/0CAw+K2NM4drEfli/IiGzX6u/X01U/cvJ559z5iF/lZOWrZ4ydwyzmew5wpi1zp4RS17W//FGeKqesgVnvtOUB7Oyh5npITk2SucP7i4UzKKSn/PJhoHhUpGHWHCbph5InVsIk9QDRKqAOHS7tdqUNk1BURYt3ZZmXvg5IZUQEVmOzYxmKr7vxx3Y6yL6d1z75UczQkSLZGG+lcr0U+TnCppaPKTlHooOQU9C6FsBpeyf0I1pfusZe2mVFTinCmTKXrvmhqHDsFxjcyO4tpcgLq9PauiHbCxc4Vi7M8yLBB3ZA2IvLdqXFrHNnwy0wJiwbCAa82+35RJLkf5eRBvHPgETtuYtlm77mjPJad0GfPcAkzJTsjFo/HvHsVirmLKEOzLS1226YVgCffktmBcEabIBOWGtnAKVxFiYcq3UrbJI/HAyi6VDPbmL+Y+q45u6zX8H4aDzR7pmkakKAe8J2ZemK02hKlpXVOD3yrll+ZWmqQFss=", "ansible_ssh_host_key_ecdsa_public": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBHbX/t7rMlGkUDvbCS2tpYWQ245bIVbdeNb9bvvPkrKSb928seoR39vKlAQ1HWU6oeK/R33s7flmGATQ2JM6NC4=", "ansible_ssh_host_key_ed25519_public": "AAAAC3NzaC1lZDI1NTE5AAAAIOGuCY8OQRpk7ZpYHkE0ULO1WYSKomJXiFtjdGyXaJlF", "ansible_virtualization_role": "guest", "ansible_virtualization_type": "VirtualPC", "ansible_system_capabilities_enforced": "False", "ansible_system_capabilities": [], "ansible_apparmor": {"status": "enabled"}, "ansible_user_id": "root", "ansible_user_uid": 0, "ansible_user_gid": 0, "ansible_user_gecos": "root", "ansible_user_dir": "/root", "ansible_user_shell": "/bin/bash", "ansible_real_user_id": 0, "ansible_effective_user_id": 0, "ansible_real_group_id": 0, "ansible_effective_group_id": 0, "ansible_system": "Linux", "ansible_kernel": "5.4.0-48-generic", "ansible_kernel_version": "#52-Ubuntu SMP Thu Sep 10 10:58:49 UTC 2020", "ansible_machine": "x86_64", "ansible_python_version": "3.8.5", "ansible_fqdn": "ubuntu-docker-lab", "ansible_hostname": "ubuntu-docker-lab", "ansible_nodename": "ubuntu-docker-lab", "ansible_domain": "", "ansible_userspace_bits": "64", "ansible_architecture": "x86_64", "ansible_userspace_architecture": "x86_64", "ansible_machine_id": "a7454e2f433b4739a5c95d2d2c2f172e", "ansible_python": {"version": {"major": 3, "minor": 8, "micro": 5, "releaselevel": "final", "serial": 0}, "version_info": [3, 8, 5, "final", 0], "executable": "/usr/bin/python3", "has_sslcontext": true, "type": "cpython"}, "ansible_local": {}, "ansible_env": {"SUDO_GID": "998", "MAIL": "/var/mail/root", "USER": "root", "HOME": "/root", "SUDO_UID": "1000", "LOGNAME": "root", "TERM": "xterm-256color", "PATH": "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin", "LANG": "en_US.UTF-8", "SUDO_COMMAND": "/bin/sh -c echo BECOME-SUCCESS-svehhgscxyhltbhrbtacvgntsghebjsc ; /usr/bin/python3 /home/gschellhas/.ansible/tmp/ansible-tmp-1605889515.2299314-137346706671177/AnsiballZ_setup.py", "SHELL": "/bin/bash", "SUDO_USER": "gschellhas", "PWD": "/home/gschellhas"}, "ansible_cmdline": {"BOOT_IMAGE": "/boot/vmlinuz-5.4.0-48-generic", "root": "PARTUUID=0858f350-08d3-4fca-8e76-bd79cdbe80b8", "ro": true, "quiet": true, "splash": true}, "ansible_proc_cmdline": {"BOOT_IMAGE": "/boot/vmlinuz-5.4.0-48-generic", "root": "PARTUUID=0858f350-08d3-4fca-8e76-bd79cdbe80b8", "ro": true, "quiet": true, "splash": true}, "ansible_distribution": "Ubuntu", "ansible_distribution_release": "focal", "ansible_distribution_version": "20.04", "ansible_distribution_major_version": "20", "ansible_distribution_file_path": "/etc/os-release", "ansible_distribution_file_variety": "Debian", "ansible_distribution_file_parsed": true, "ansible_os_family": "Debian", "ansible_selinux": {"status": "Missing selinux Python library"}, "ansible_selinux_python_present": false, "ansible_interfaces": ["docker0", "lo", "eth0"], "ansible_docker0": {"device": "docker0", "macaddress": "02:42:a9:92:7a:32", "mtu": 1500, "active": false, "type": "bridge", "interfaces": [], "id": "8000.0242a9927a32", "stp": false, "promisc": false, "ipv4": {"address": "172.17.0.1", "broadcast": "172.17.255.255", "netmask": "255.255.0.0", "network": "172.17.0.0"}}, "ansible_lo": {"device": "lo", "mtu": 65536, "active": true, "type": "loopback", "promisc": false, "ipv4": {"address": "127.0.0.1", "broadcast": "host", "netmask": "255.0.0.0", "network": "127.0.0.0"}, "ipv6": [{"address": "::1", "prefix": "128", "scope": "host"}]}, "ansible_eth0": {"device": "eth0", "macaddress": "00:15:5d:01:bd:01", "mtu": 1500, "active": true, "module": "hv_netvsc", "type": "ether", "pciid": "1a0429cf-9c86-4087-83b0-99022769cbdc", "speed": 10000, "promisc": false, "ipv4": {"address": "192.168.1.178", "broadcast": "192.168.1.255", "netmask": "255.255.255.0", "network": "192.168.1.0"}, "ipv6": [{"address": "fe80::d22b:21bd:e470:b645", "prefix": "64", "scope": "link"}]}, "ansible_default_ipv4": {"gateway": "192.168.1.1", "interface": "eth0", "address": "192.168.1.178", "broadcast": "192.168.1.255", "netmask": "255.255.255.0", "network": "192.168.1.0", "macaddress": "00:15:5d:01:bd:01", "mtu": 1500, "type": "ether", "alias": "eth0"}, "ansible_default_ipv6": {"gateway": "fe80::1:1", "interface": "eth0", "address": "fe80::d22b:21bd:e470:b645", "prefix": "64", "scope": "link", "macaddress": "00:15:5d:01:bd:01", "mtu": 1500, "type": "ether"}, "ansible_all_ipv4_addresses": ["172.17.0.1", "192.168.1.178"], "ansible_all_ipv6_addresses": ["fe80::d22b:21bd:e470:b645"], "ansible_hostnqn": "", "ansible_processor": ["0", "GenuineIntel", "Intel(R) Core(TM) i7-7820HQ CPU @ 2.90GHz", "1", "GenuineIntel", "Intel(R) Core(TM) i7-7820HQ CPU @ 2.90GHz", "2", "GenuineIntel", "Intel(R) Core(TM) i7-7820HQ CPU @ 2.90GHz", "3", "GenuineIntel", "Intel(R) Core(TM) i7-7820HQ CPU @ 2.90GHz"], "ansible_processor_count": 1, "ansible_processor_cores": 2, "ansible_processor_threads_per_core": 2, "ansible_processor_vcpus": 4, "ansible_memtotal_mb": 8146, "ansible_memfree_mb": 3087, "ansible_swaptotal_mb": 0, "ansible_swapfree_mb": 0, "ansible_memory_mb": {"real": {"total": 8146, "used": 5059, "free": 3087}, "nocache": {"free": 6338, "used": 1808}, "swap": {"total": 0, "free": 0, "used": 0, "cached": 0}}, "ansible_bios_date": "11/01/2019", "ansible_bios_version": "Hyper-V UEFI Release v4.0", "ansible_form_factor": "Desktop", "ansible_product_name": "Virtual Machine", "ansible_product_serial": "1224-2822-6320-8781-5099-6860-33", "ansible_product_uuid": "af337e99-7b89-4de7-b166-6895fbc070b6", "ansible_product_version": "Hyper-V UEFI Release v4.0", "ansible_system_vendor": "Microsoft Corporation", "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": "1", "scheduler_mode": "mq-deadline", "sectors": "113296", "sectorsize": "512", "size": "55.32 MB", "host": "", "holders": []}, "loop8": {"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": "1", "scheduler_mode": "mq-deadline", "sectors": "446248", "sectorsize": "512", "size": "217.89 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": "4096", "partitions": {}, "rotational": "1", "scheduler_mode": "mq-deadline", "sectors": "63360", "sectorsize": "512", "size": "30.94 MB", "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": "4096", "partitions": {}, "rotational": "1", "scheduler_mode": "mq-deadline", "sectors": "101960", "sectorsize": "512", "size": "49.79 MB", "host": "", "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": "1", "scheduler_mode": "mq-deadline", "sectors": "523400", "sectorsize": "512", "size": "255.57 MB", "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": "1", "scheduler_mode": "mq-deadline", "sectors": "61984", "sectorsize": "512", "size": "30.27 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": "4096", "partitions": {}, "rotational": "1", "scheduler_mode": "mq-deadline", "sectors": "103776", "sectorsize": "512", "size": "50.67 MB", "host": "", "holders": []}, "sda": {"virtual": 1, "links": {"ids": ["scsi-3600224800521cc7b0aacceea2ef7dc40", "wwn-0x600224800521cc7b0aacceea2ef7dc40"], "uuids": [], "labels": [], "masters": []}, "vendor": "Msft", "model": "Virtual Disk", "sas_address": null, "sas_device_handle": null, "removable": "0", "support_discard": "2097152", "wwn": "0x600224800521cc7b0aacceea2ef7dc40", "partitions": {"sda14": {"links": {"ids": ["scsi-3600224800521cc7b0aacceea2ef7dc40-part14", "wwn-0x600224800521cc7b0aacceea2ef7dc40-part14"], "uuids": [], "labels": [], "masters": []}, "start": "2048", "sectors": "8192", "sectorsize": 512, "size": "4.00 MB", "uuid": null, "holders": []}, "sda15": {"links": {"ids": ["scsi-3600224800521cc7b0aacceea2ef7dc40-part15", "wwn-0x600224800521cc7b0aacceea2ef7dc40-part15"], "uuids": ["6721-F2C0"], "labels": ["UEFI"], "masters": []}, "start": "10240", "sectors": "217088", "sectorsize": 512, "size": "106.00 MB", "uuid": "6721-F2C0", "holders": []}, "sda1": {"links": {"ids": ["scsi-3600224800521cc7b0aacceea2ef7dc40-part1", "wwn-0x600224800521cc7b0aacceea2ef7dc40-part1"], "uuids": ["5d57bef0-89e2-4ae9-ba99-16248ee6cc92"], "labels": ["desktop-rootfs"], "masters": []}, "start": "227328", "sectors": "24938463", "sectorsize": 512, "size": "11.89 GB", "uuid": "5d57bef0-89e2-4ae9-ba99-16248ee6cc92", "holders": []}}, "rotational": "1", "scheduler_mode": "none", "sectors": "25165824", "sectorsize": "512", "size": "12.00 GB", "host": "", "holders": []}, "loop5": {"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": "1", "scheduler_mode": "mq-deadline", "sectors": "113384", "sectorsize": "512", "size": "55.36 MB", "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": "4096", "partitions": {}, "rotational": "1", "scheduler_mode": "mq-deadline", "sectors": "127160", "sectorsize": "512", "size": "62.09 MB", "host": "", "holders": []}}, "ansible_device_links": {"ids": {"sda1": ["scsi-3600224800521cc7b0aacceea2ef7dc40-part1", "wwn-0x600224800521cc7b0aacceea2ef7dc40-part1"], "sda15": ["scsi-3600224800521cc7b0aacceea2ef7dc40-part15", "wwn-0x600224800521cc7b0aacceea2ef7dc40-part15"], "sda14": ["scsi-3600224800521cc7b0aacceea2ef7dc40-part14", "wwn-0x600224800521cc7b0aacceea2ef7dc40-part14"], "sda": ["scsi-3600224800521cc7b0aacceea2ef7dc40", "wwn-0x600224800521cc7b0aacceea2ef7dc40"]}, "uuids": {"sda1": ["5d57bef0-89e2-4ae9-ba99-16248ee6cc92"], "sda15": ["6721-F2C0"]}, "labels": {"sda1": ["desktop-rootfs"], "sda15": ["UEFI"]}, "masters": {}}, "ansible_uptime_seconds": 54666, "ansible_lvm": {"lvs": {}, "vgs": {}, "pvs": {}}, "ansible_mounts": [{"mount": "/", "device": "/dev/sda1", "fstype": "ext4", "options": "rw,relatime", "size_total": 12301357056, "size_available": 5136121856, "block_size": 4096, "block_total": 3003261, "block_available": 1253936, "block_used": 1749325, "inode_total": 1559040, "inode_available": 1340089, "inode_used": 218951, "uuid": "5d57bef0-89e2-4ae9-ba99-16248ee6cc92"}, {"mount": "/boot/efi", "device": "/dev/sda15", "fstype": "vfat", "options": "rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro", "size_total": 109422592, "size_available": 105394176, "block_size": 512, "block_total": 213716, "block_available": 205848, "block_used": 7868, "inode_total": 0, "inode_available": 0, "inode_used": 0, "uuid": "6721-F2C0"}, {"mount": "/snap/snapd/9279", "device": "/dev/loop0", "fstype": "squashfs", "options": "ro,nodev,relatime", "size_total": 31850496, "size_available": 0, "block_size": 131072, "block_total": 243, "block_available": 0, "block_used": 243, "inode_total": 472, "inode_available": 0, "inode_used": 472, "uuid": "N/A"}, {"mount": "/snap/core18/1885", "device": "/dev/loop1", "fstype": "squashfs", "options": "ro,nodev,relatime", "size_total": 58064896, "size_available": 0, "block_size": 131072, "block_total": 443, "block_available": 0, "block_used": 443, "inode_total": 10775, "inode_available": 0, "inode_used": 10775, "uuid": "N/A"}, {"mount": "/snap/gnome-3-34-1804/36", "device": "/dev/loop2", "fstype": "squashfs", "options": "ro,nodev,relatime", "size_total": 268042240, "size_available": 0, "block_size": 131072, "block_total": 2045, "block_available": 0, "block_used": 2045, "inode_total": 24339, "inode_available": 0, "inode_used": 24339, "uuid": "N/A"}, {"mount": "/snap/snap-store/467", "device": "/dev/loop4", "fstype": "squashfs", "options": "ro,nodev,relatime", "size_total": 52297728, "size_available": 0, "block_size": 131072, "block_total": 399, "block_available": 0, "block_used": 399, "inode_total": 15827, "inode_available": 0, "inode_used": 15827, "uuid": "N/A"}, {"mount": "/snap/snapd/9721", "device": "/dev/loop6", "fstype": "squashfs", "options": "ro,nodev,relatime", "size_total": 32505856, "size_available": 0, "block_size": 131072, "block_total": 248, "block_available": 0, "block_used": 248, "inode_total": 472, "inode_available": 0, "inode_used": 472, "uuid": "N/A"}, {"mount": "/snap/gtk-common-themes/1506", "device": "/dev/loop3", "fstype": "squashfs", "options": "ro,nodev,relatime", "size_total": 65142784, "size_available": 0, "block_size": 131072, "block_total": 497, "block_available": 0, "block_used": 497, "inode_total": 62342, "inode_available": 0, "inode_used": 62342, "uuid": "N/A"}, {"mount": "/snap/core18/1932", "device": "/dev/loop5", "fstype": "squashfs", "options": "ro,nodev,relatime", "size_total": 58064896, "size_available": 0, "block_size": 131072, "block_total": 443, "block_available": 0, "block_used": 443, "inode_total": 10779, "inode_available": 0, "inode_used": 10779, "uuid": "N/A"}, {"mount": "/snap/snap-store/481", "device": "/dev/loop7", "fstype": "squashfs", "options": "ro,nodev,relatime", "size_total": 53215232, "size_available": 0, "block_size": 131072, "block_total": 406, "block_available": 0, "block_used": 406, "inode_total": 15843, "inode_available": 0, "inode_used": 15843, "uuid": "N/A"}, {"mount": "/snap/gnome-3-34-1804/60", "device": "/dev/loop8", "fstype": "squashfs", "options": "ro,nodev,relatime", "size_total": 228589568, "size_available": 0, "block_size": 131072, "block_total": 1744, "block_available": 0, "block_used": 1744, "inode_total": 18513, "inode_available": 0, "inode_used": 18513, "uuid": "N/A"}], "ansible_service_mgr": "systemd", "ansible_fibre_channel_wwn": [], "ansible_iscsi_iqn": "", "ansible_is_chroot": false, "ansible_lsb": {"id": "Ubuntu", "description": "Ubuntu 20.04.1 LTS", "release": "20.04", "codename": "focal", "major_release": "20"}, "ansible_dns": {"nameservers": ["127.0.0.53"], "options": {"edns0": true}, "search": ["riverlunch.com"]}, "ansible_date_time": {"year": "2020", "month": "11", "weekday": "Friday", "weekday_number": "5", "weeknumber": "46", "day": "20", "hour": "11", "minute": "25", "second": "18", "epoch": "1605889518", "date": "2020-11-20", "time": "11:25:18", "iso8601_micro": "2020-11-20T16:25:18.807054Z", "iso8601": "2020-11-20T16:25:18Z", "iso8601_basic": "20201120T112518806951", "iso8601_basic_short": "20201120T112518", "tz": "EST", "tz_offset": "-0500"}, "ansible_fips": false, "ansible_pkg_mgr": "apt", "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.2p1 Ubuntu-4ubuntu0.1, OpenSSL 1.1.1f  31 Mar 2020\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.178 is address\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 = 3595\r\ndebug3: mux_client_request_session: session request sent\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.178 closed.\r\n')
<192.168.1.178> ESTABLISH SSH CONNECTION FOR USER: gschellhas
<192.168.1.178> SSH: EXEC sshpass -d11 ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o 'User="gschellhas"' -o ConnectTimeout=10 -o ControlPath=/home/gschellhas/.ansible/cp/409e225f64 192.168.1.178 '/bin/sh -c '"'"'rm -f -r /home/gschellhas/.ansible/tmp/ansible-tmp-1605889515.2299314-137346706671177/ > /dev/null 2>&1 && sleep 0'"'"''
<192.168.1.178> (0, b'', b'OpenSSH_8.2p1 Ubuntu-4ubuntu0.1, OpenSSL 1.1.1f  31 Mar 2020\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.178 is address\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 = 3595\r\ndebug3: mux_client_request_session: session request sent\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n')
ok: [192.168.1.178]
META: ran handlers

TASK [Ensure group "docker" exists] ************************************************************************************
task path: /mnt/c/Users/gschellhas/Desktop/ansible/Docker_Demo/playbook.yml:6
<192.168.1.178> ESTABLISH SSH CONNECTION FOR USER: gschellhas
<192.168.1.178> SSH: EXEC sshpass -d11 ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o 'User="gschellhas"' -o ConnectTimeout=10 -o ControlPath=/home/gschellhas/.ansible/cp/409e225f64 192.168.1.178 '/bin/sh -c '"'"'echo ~gschellhas && sleep 0'"'"''
<192.168.1.178> (0, b'/home/gschellhas\n', b'OpenSSH_8.2p1 Ubuntu-4ubuntu0.1, OpenSSL 1.1.1f  31 Mar 2020\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.178 is address\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 = 3595\r\ndebug3: mux_client_request_session: session request sent\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n')
<192.168.1.178> ESTABLISH SSH CONNECTION FOR USER: gschellhas
<192.168.1.178> SSH: EXEC sshpass -d11 ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o 'User="gschellhas"' -o ConnectTimeout=10 -o ControlPath=/home/gschellhas/.ansible/cp/409e225f64 192.168.1.178 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /home/gschellhas/.ansible/tmp/ansible-tmp-1605889518.4426382-70869871558300 `" && echo ansible-tmp-1605889518.4426382-70869871558300="` echo /home/gschellhas/.ansible/tmp/ansible-tmp-1605889518.4426382-70869871558300 `" ) && sleep 0'"'"''
<192.168.1.178> (0, b'ansible-tmp-1605889518.4426382-70869871558300=/home/gschellhas/.ansible/tmp/ansible-tmp-1605889518.4426382-70869871558300\n', b'OpenSSH_8.2p1 Ubuntu-4ubuntu0.1, OpenSSL 1.1.1f  31 Mar 2020\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.178 is address\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 = 3595\r\ndebug3: mux_client_request_session: session request sent\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n')
Using module file /usr/lib/python3/dist-packages/ansible/modules/system/group.py
<192.168.1.178> PUT /home/gschellhas/.ansible/tmp/ansible-local-3585h_05m3k2/tmpdn_9aoo7 TO /home/gschellhas/.ansible/tmp/ansible-tmp-1605889518.4426382-70869871558300/AnsiballZ_group.py
<192.168.1.178> SSH: EXEC sshpass -d11 sftp -o BatchMode=no -b - -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o 'User="gschellhas"' -o ConnectTimeout=10 -o ControlPath=/home/gschellhas/.ansible/cp/409e225f64 '[192.168.1.178]'
<192.168.1.178> (0, b'sftp> put /home/gschellhas/.ansible/tmp/ansible-local-3585h_05m3k2/tmpdn_9aoo7 /home/gschellhas/.ansible/tmp/ansible-tmp-1605889518.4426382-70869871558300/AnsiballZ_group.py\n', b'OpenSSH_8.2p1 Ubuntu-4ubuntu0.1, OpenSSL 1.1.1f  31 Mar 2020\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.178 is address\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 = 3595\r\ndebug3: mux_client_request_session: session request sent\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/gschellhas size 0\r\ndebug3: Looking up /home/gschellhas/.ansible/tmp/ansible-local-3585h_05m3k2/tmpdn_9aoo7\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/gschellhas/.ansible/tmp/ansible-tmp-1605889518.4426382-70869871558300/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:9487\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 9487 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.178> ESTABLISH SSH CONNECTION FOR USER: gschellhas
<192.168.1.178> SSH: EXEC sshpass -d11 ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o 'User="gschellhas"' -o ConnectTimeout=10 -o ControlPath=/home/gschellhas/.ansible/cp/409e225f64 192.168.1.178 '/bin/sh -c '"'"'chmod u+x /home/gschellhas/.ansible/tmp/ansible-tmp-1605889518.4426382-70869871558300/ /home/gschellhas/.ansible/tmp/ansible-tmp-1605889518.4426382-70869871558300/AnsiballZ_group.py && sleep 0'"'"''
<192.168.1.178> (0, b'', b'OpenSSH_8.2p1 Ubuntu-4ubuntu0.1, OpenSSL 1.1.1f  31 Mar 2020\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.178 is address\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 = 3595\r\ndebug3: mux_client_request_session: session request sent\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n')
<192.168.1.178> ESTABLISH SSH CONNECTION FOR USER: gschellhas
<192.168.1.178> SSH: EXEC sshpass -d11 ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o 'User="gschellhas"' -o ConnectTimeout=10 -o ControlPath=/home/gschellhas/.ansible/cp/409e225f64 -tt 192.168.1.178 '/bin/sh -c '"'"'sudo -H -S  -p "[sudo via ansible, key=bxcmucgbdghblhzosxqbpqzemjknvtca] password:" -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-bxcmucgbdghblhzosxqbpqzemjknvtca ; /usr/bin/python3 /home/gschellhas/.ansible/tmp/ansible-tmp-1605889518.4426382-70869871558300/AnsiballZ_group.py'"'"'"'"'"'"'"'"' && sleep 0'"'"''
Escalation succeeded
<192.168.1.178> (0, b'\r\n\r\n{"name": "docker", "state": "present", "changed": false, "system": false, "gid": 998, "invocation": {"module_args": {"name": "docker", "state": "present", "system": false, "local": false, "non_unique": false, "gid": null}}}\r\n', b'OpenSSH_8.2p1 Ubuntu-4ubuntu0.1, OpenSSL 1.1.1f  31 Mar 2020\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.178 is address\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 = 3595\r\ndebug3: mux_client_request_session: session request sent\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.178 closed.\r\n')
<192.168.1.178> ESTABLISH SSH CONNECTION FOR USER: gschellhas
<192.168.1.178> SSH: EXEC sshpass -d11 ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o 'User="gschellhas"' -o ConnectTimeout=10 -o ControlPath=/home/gschellhas/.ansible/cp/409e225f64 192.168.1.178 '/bin/sh -c '"'"'rm -f -r /home/gschellhas/.ansible/tmp/ansible-tmp-1605889518.4426382-70869871558300/ > /dev/null 2>&1 && sleep 0'"'"''
<192.168.1.178> (0, b'', b'OpenSSH_8.2p1 Ubuntu-4ubuntu0.1, OpenSSL 1.1.1f  31 Mar 2020\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.178 is address\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 = 3595\r\ndebug3: mux_client_request_session: session request sent\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n')
ok: [192.168.1.178] => {
    "changed": false,
    "gid": 998,
    "invocation": {
        "module_args": {
            "gid": null,
            "local": false,
            "name": "docker",
            "non_unique": false,
            "state": "present",
            "system": false
        }
    },
    "name": "docker",
    "state": "present",
    "system": false
}

TASK [Add user to docker group] ****************************************************************************************
task path: /mnt/c/Users/gschellhas/Desktop/ansible/Docker_Demo/playbook.yml:11
<192.168.1.178> ESTABLISH SSH CONNECTION FOR USER: gschellhas
<192.168.1.178> SSH: EXEC sshpass -d11 ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o 'User="gschellhas"' -o ConnectTimeout=10 -o ControlPath=/home/gschellhas/.ansible/cp/409e225f64 192.168.1.178 '/bin/sh -c '"'"'echo ~gschellhas && sleep 0'"'"''
<192.168.1.178> (0, b'/home/gschellhas\n', b'OpenSSH_8.2p1 Ubuntu-4ubuntu0.1, OpenSSL 1.1.1f  31 Mar 2020\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.178 is address\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 = 3595\r\ndebug3: mux_client_request_session: session request sent\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n')
<192.168.1.178> ESTABLISH SSH CONNECTION FOR USER: gschellhas
<192.168.1.178> SSH: EXEC sshpass -d11 ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o 'User="gschellhas"' -o ConnectTimeout=10 -o ControlPath=/home/gschellhas/.ansible/cp/409e225f64 192.168.1.178 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /home/gschellhas/.ansible/tmp/ansible-tmp-1605889518.9574926-69292234518406 `" && echo ansible-tmp-1605889518.9574926-69292234518406="` echo /home/gschellhas/.ansible/tmp/ansible-tmp-1605889518.9574926-69292234518406 `" ) && sleep 0'"'"''
<192.168.1.178> (0, b'ansible-tmp-1605889518.9574926-69292234518406=/home/gschellhas/.ansible/tmp/ansible-tmp-1605889518.9574926-69292234518406\n', b'OpenSSH_8.2p1 Ubuntu-4ubuntu0.1, OpenSSL 1.1.1f  31 Mar 2020\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.178 is address\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 = 3595\r\ndebug3: mux_client_request_session: session request sent\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n')
Using module file /usr/lib/python3/dist-packages/ansible/modules/system/user.py
<192.168.1.178> PUT /home/gschellhas/.ansible/tmp/ansible-local-3585h_05m3k2/tmp86hihkfx TO /home/gschellhas/.ansible/tmp/ansible-tmp-1605889518.9574926-69292234518406/AnsiballZ_user.py
<192.168.1.178> SSH: EXEC sshpass -d11 sftp -o BatchMode=no -b - -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o 'User="gschellhas"' -o ConnectTimeout=10 -o ControlPath=/home/gschellhas/.ansible/cp/409e225f64 '[192.168.1.178]'
<192.168.1.178> (0, b'sftp> put /home/gschellhas/.ansible/tmp/ansible-local-3585h_05m3k2/tmp86hihkfx /home/gschellhas/.ansible/tmp/ansible-tmp-1605889518.9574926-69292234518406/AnsiballZ_user.py\n', b'OpenSSH_8.2p1 Ubuntu-4ubuntu0.1, OpenSSL 1.1.1f  31 Mar 2020\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.178 is address\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 = 3595\r\ndebug3: mux_client_request_session: session request sent\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/gschellhas size 0\r\ndebug3: Looking up /home/gschellhas/.ansible/tmp/ansible-local-3585h_05m3k2/tmp86hihkfx\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/gschellhas/.ansible/tmp/ansible-tmp-1605889518.9574926-69292234518406/AnsiballZ_user.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:29661\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 29661 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.178> ESTABLISH SSH CONNECTION FOR USER: gschellhas
<192.168.1.178> SSH: EXEC sshpass -d11 ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o 'User="gschellhas"' -o ConnectTimeout=10 -o ControlPath=/home/gschellhas/.ansible/cp/409e225f64 192.168.1.178 '/bin/sh -c '"'"'chmod u+x /home/gschellhas/.ansible/tmp/ansible-tmp-1605889518.9574926-69292234518406/ /home/gschellhas/.ansible/tmp/ansible-tmp-1605889518.9574926-69292234518406/AnsiballZ_user.py && sleep 0'"'"''
<192.168.1.178> (0, b'', b'OpenSSH_8.2p1 Ubuntu-4ubuntu0.1, OpenSSL 1.1.1f  31 Mar 2020\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.178 is address\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 = 3595\r\ndebug3: mux_client_request_session: session request sent\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n')
<192.168.1.178> ESTABLISH SSH CONNECTION FOR USER: gschellhas
<192.168.1.178> SSH: EXEC sshpass -d11 ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o 'User="gschellhas"' -o ConnectTimeout=10 -o ControlPath=/home/gschellhas/.ansible/cp/409e225f64 -tt 192.168.1.178 '/bin/sh -c '"'"'sudo -H -S  -p "[sudo via ansible, key=lnzvapnrubzdfhljcekebkvrfpclvqrk] password:" -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-lnzvapnrubzdfhljcekebkvrfpclvqrk ; /usr/bin/python3 /home/gschellhas/.ansible/tmp/ansible-tmp-1605889518.9574926-69292234518406/AnsiballZ_user.py'"'"'"'"'"'"'"'"' && sleep 0'"'"''
Escalation succeeded
<192.168.1.178> (0, b'\r\n\r\n{"name": "gschellhas", "state": "present", "append": false, "move_home": false, "changed": false, "uid": 1000, "group": 998, "comment": "Gary Schellhas,,,", "home": "/home/gschellhas", "shell": "/bin/bash", "invocation": {"module_args": {"name": "gschellhas", "group": "docker", "state": "present", "non_unique": false, "force": false, "remove": false, "create_home": true, "system": false, "move_home": false, "append": false, "ssh_key_bits": 0, "ssh_key_type": "rsa", "ssh_key_comment": "ansible-generated on ubuntu-docker-lab", "update_password": "always", "uid": null, "groups": null, "comment": null, "home": null, "shell": null, "password": null, "login_class": null, "hidden": null, "seuser": null, "skeleton": null, "generate_ssh_key": null, "ssh_key_file": null, "ssh_key_passphrase": null, "expires": null, "password_lock": null, "local": null, "profile": null, "authorization": null, "role": null}}}\r\n', b'OpenSSH_8.2p1 Ubuntu-4ubuntu0.1, OpenSSL 1.1.1f  31 Mar 2020\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.178 is address\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 = 3595\r\ndebug3: mux_client_request_session: session request sent\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.178 closed.\r\n')
<192.168.1.178> ESTABLISH SSH CONNECTION FOR USER: gschellhas
<192.168.1.178> SSH: EXEC sshpass -d11 ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o 'User="gschellhas"' -o ConnectTimeout=10 -o ControlPath=/home/gschellhas/.ansible/cp/409e225f64 192.168.1.178 '/bin/sh -c '"'"'rm -f -r /home/gschellhas/.ansible/tmp/ansible-tmp-1605889518.9574926-69292234518406/ > /dev/null 2>&1 && sleep 0'"'"''
<192.168.1.178> (0, b'', b'OpenSSH_8.2p1 Ubuntu-4ubuntu0.1, OpenSSL 1.1.1f  31 Mar 2020\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.178 is address\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 = 3595\r\ndebug3: mux_client_request_session: session request sent\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n')
ok: [192.168.1.178] => {
    "append": false,
    "changed": false,
    "comment": "Gary Schellhas,,,",
    "group": 998,
    "home": "/home/gschellhas",
    "invocation": {
        "module_args": {
            "append": false,
            "authorization": null,
            "comment": null,
            "create_home": true,
            "expires": null,
            "force": false,
            "generate_ssh_key": null,
            "group": "docker",
            "groups": null,
            "hidden": null,
            "home": null,
            "local": null,
            "login_class": null,
            "move_home": false,
            "name": "gschellhas",
            "non_unique": false,
            "password": null,
            "password_lock": null,
            "profile": null,
            "remove": false,
            "role": null,
            "seuser": null,
            "shell": null,
            "skeleton": null,
            "ssh_key_bits": 0,
            "ssh_key_comment": "ansible-generated on ubuntu-docker-lab",
            "ssh_key_file": null,
            "ssh_key_passphrase": null,
            "ssh_key_type": "rsa",
            "state": "present",
            "system": false,
            "uid": null,
            "update_password": "always"
        }
    },
    "move_home": false,
    "name": "gschellhas",
    "shell": "/bin/bash",
    "state": "present",
    "uid": 1000
}

TASK [Install docker module for python] ********************************************************************************
task path: /mnt/c/Users/gschellhas/Desktop/ansible/Docker_Demo/playbook.yml:16
<192.168.1.178> ESTABLISH SSH CONNECTION FOR USER: gschellhas
<192.168.1.178> SSH: EXEC sshpass -d11 ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o 'User="gschellhas"' -o ConnectTimeout=10 -o ControlPath=/home/gschellhas/.ansible/cp/409e225f64 192.168.1.178 '/bin/sh -c '"'"'echo ~gschellhas && sleep 0'"'"''
<192.168.1.178> (0, b'/home/gschellhas\n', b'OpenSSH_8.2p1 Ubuntu-4ubuntu0.1, OpenSSL 1.1.1f  31 Mar 2020\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.178 is address\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 = 3595\r\ndebug3: mux_client_request_session: session request sent\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n')
<192.168.1.178> ESTABLISH SSH CONNECTION FOR USER: gschellhas
<192.168.1.178> SSH: EXEC sshpass -d11 ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o 'User="gschellhas"' -o ConnectTimeout=10 -o ControlPath=/home/gschellhas/.ansible/cp/409e225f64 192.168.1.178 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /home/gschellhas/.ansible/tmp/ansible-tmp-1605889519.7264936-267245903094047 `" && echo ansible-tmp-1605889519.7264936-267245903094047="` echo /home/gschellhas/.ansible/tmp/ansible-tmp-1605889519.7264936-267245903094047 `" ) && sleep 0'"'"''
<192.168.1.178> (0, b'ansible-tmp-1605889519.7264936-267245903094047=/home/gschellhas/.ansible/tmp/ansible-tmp-1605889519.7264936-267245903094047\n', b'OpenSSH_8.2p1 Ubuntu-4ubuntu0.1, OpenSSL 1.1.1f  31 Mar 2020\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.178 is address\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 = 3595\r\ndebug3: mux_client_request_session: session request sent\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n')
Using module file /usr/lib/python3/dist-packages/ansible/modules/packaging/language/pip.py
<192.168.1.178> PUT /home/gschellhas/.ansible/tmp/ansible-local-3585h_05m3k2/tmpx0b0sv8c TO /home/gschellhas/.ansible/tmp/ansible-tmp-1605889519.7264936-267245903094047/AnsiballZ_pip.py
<192.168.1.178> SSH: EXEC sshpass -d11 sftp -o BatchMode=no -b - -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o 'User="gschellhas"' -o ConnectTimeout=10 -o ControlPath=/home/gschellhas/.ansible/cp/409e225f64 '[192.168.1.178]'
<192.168.1.178> (0, b'sftp> put /home/gschellhas/.ansible/tmp/ansible-local-3585h_05m3k2/tmpx0b0sv8c /home/gschellhas/.ansible/tmp/ansible-tmp-1605889519.7264936-267245903094047/AnsiballZ_pip.py\n', b'OpenSSH_8.2p1 Ubuntu-4ubuntu0.1, OpenSSL 1.1.1f  31 Mar 2020\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.178 is address\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 = 3595\r\ndebug3: mux_client_request_session: session request sent\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/gschellhas size 0\r\ndebug3: Looking up /home/gschellhas/.ansible/tmp/ansible-local-3585h_05m3k2/tmpx0b0sv8c\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/gschellhas/.ansible/tmp/ansible-tmp-1605889519.7264936-267245903094047/AnsiballZ_pip.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:15551\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 15551 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.178> ESTABLISH SSH CONNECTION FOR USER: gschellhas
<192.168.1.178> SSH: EXEC sshpass -d11 ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o 'User="gschellhas"' -o ConnectTimeout=10 -o ControlPath=/home/gschellhas/.ansible/cp/409e225f64 192.168.1.178 '/bin/sh -c '"'"'chmod u+x /home/gschellhas/.ansible/tmp/ansible-tmp-1605889519.7264936-267245903094047/ /home/gschellhas/.ansible/tmp/ansible-tmp-1605889519.7264936-267245903094047/AnsiballZ_pip.py && sleep 0'"'"''
<192.168.1.178> (0, b'', b'OpenSSH_8.2p1 Ubuntu-4ubuntu0.1, OpenSSL 1.1.1f  31 Mar 2020\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.178 is address\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 = 3595\r\ndebug3: mux_client_request_session: session request sent\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n')
<192.168.1.178> ESTABLISH SSH CONNECTION FOR USER: gschellhas
<192.168.1.178> SSH: EXEC sshpass -d11 ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o 'User="gschellhas"' -o ConnectTimeout=10 -o ControlPath=/home/gschellhas/.ansible/cp/409e225f64 -tt 192.168.1.178 '/bin/sh -c '"'"'sudo -H -S  -p "[sudo via ansible, key=ocrborsrkungvevdbnjmyowvblowahdz] password:" -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-ocrborsrkungvevdbnjmyowvblowahdz ; /usr/bin/python3 /home/gschellhas/.ansible/tmp/ansible-tmp-1605889519.7264936-267245903094047/AnsiballZ_pip.py'"'"'"'"'"'"'"'"' && sleep 0'"'"''
Escalation succeeded
<192.168.1.178> (0, b'\r\n\r\n{"changed": false, "cmd": ["/usr/bin/pip3", "install", "docker[tls]"], "name": ["docker[tls]"], "version": null, "state": "present", "requirements": null, "virtualenv": null, "stdout": "Requirement already satisfied: docker[tls] in /usr/local/lib/python3.8/dist-packages (4.3.1)\\nRequirement already satisfied: requests!=2.18.0,>=2.14.2 in /usr/lib/python3/dist-packages (from docker[tls]) (2.22.0)\\nRequirement already satisfied: six>=1.4.0 in /usr/lib/python3/dist-packages (from docker[tls]) (1.14.0)\\nRequirement already satisfied: websocket-client>=0.32.0 in /usr/local/lib/python3.8/dist-packages (from docker[tls]) (0.57.0)\\nRequirement already satisfied: pyOpenSSL>=17.5.0; extra == \\"tls\\" in /usr/local/lib/python3.8/dist-packages (from docker[tls]) (19.1.0)\\nRequirement already satisfied: cryptography>=1.3.4; extra == \\"tls\\" in /usr/lib/python3/dist-packages (from docker[tls]) (2.8)\\nRequirement already satisfied: idna>=2.0.0; extra == \\"tls\\" in /usr/lib/python3/dist-packages (from docker[tls]) (2.8)\\n", "stderr": "", "invocation": {"module_args": {"name": ["docker[tls]"], "state": "present", "virtualenv_site_packages": false, "virtualenv_command": "virtualenv", "editable": false, "version": null, "requirements": null, "virtualenv": null, "virtualenv_python": null, "extra_args": null, "chdir": null, "executable": null, "umask": null}}}\r\n', b'OpenSSH_8.2p1 Ubuntu-4ubuntu0.1, OpenSSL 1.1.1f  31 Mar 2020\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.178 is address\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 = 3595\r\ndebug3: mux_client_request_session: session request sent\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.178 closed.\r\n')
<192.168.1.178> ESTABLISH SSH CONNECTION FOR USER: gschellhas
<192.168.1.178> SSH: EXEC sshpass -d11 ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o 'User="gschellhas"' -o ConnectTimeout=10 -o ControlPath=/home/gschellhas/.ansible/cp/409e225f64 192.168.1.178 '/bin/sh -c '"'"'rm -f -r /home/gschellhas/.ansible/tmp/ansible-tmp-1605889519.7264936-267245903094047/ > /dev/null 2>&1 && sleep 0'"'"''
<192.168.1.178> (0, b'', b'OpenSSH_8.2p1 Ubuntu-4ubuntu0.1, OpenSSL 1.1.1f  31 Mar 2020\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.178 is address\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 = 3595\r\ndebug3: mux_client_request_session: session request sent\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n')
ok: [192.168.1.178] => {
    "changed": false,
    "cmd": [
        "/usr/bin/pip3",
        "install",
        "docker[tls]"
    ],
    "invocation": {
        "module_args": {
            "chdir": null,
            "editable": false,
            "executable": null,
            "extra_args": null,
            "name": [
                "docker[tls]"
            ],
            "requirements": null,
            "state": "present",
            "umask": null,
            "version": null,
            "virtualenv": null,
            "virtualenv_command": "virtualenv",
            "virtualenv_python": null,
            "virtualenv_site_packages": false
        }
    },
    "name": [
        "docker[tls]"
    ],
    "requirements": null,
    "state": "present",
    "stderr": "",
    "stderr_lines": [],
    "stdout": "Requirement already satisfied: docker[tls] in /usr/local/lib/python3.8/dist-packages (4.3.1)\nRequirement already satisfied: requests!=2.18.0,>=2.14.2 in /usr/lib/python3/dist-packages (from docker[tls]) (2.22.0)\nRequirement already satisfied: six>=1.4.0 in /usr/lib/python3/dist-packages (from docker[tls]) (1.14.0)\nRequirement already satisfied: websocket-client>=0.32.0 in /usr/local/lib/python3.8/dist-packages (from docker[tls]) (0.57.0)\nRequirement already satisfied: pyOpenSSL>=17.5.0; extra == \"tls\" in /usr/local/lib/python3.8/dist-packages (from docker[tls]) (19.1.0)\nRequirement already satisfied: cryptography>=1.3.4; extra == \"tls\" in /usr/lib/python3/dist-packages (from docker[tls]) (2.8)\nRequirement already satisfied: idna>=2.0.0; extra == \"tls\" in /usr/lib/python3/dist-packages (from docker[tls]) (2.8)\n",
    "stdout_lines": [
        "Requirement already satisfied: docker[tls] in /usr/local/lib/python3.8/dist-packages (4.3.1)",
        "Requirement already satisfied: requests!=2.18.0,>=2.14.2 in /usr/lib/python3/dist-packages (from docker[tls]) (2.22.0)",
        "Requirement already satisfied: six>=1.4.0 in /usr/lib/python3/dist-packages (from docker[tls]) (1.14.0)",
        "Requirement already satisfied: websocket-client>=0.32.0 in /usr/local/lib/python3.8/dist-packages (from docker[tls]) (0.57.0)",
        "Requirement already satisfied: pyOpenSSL>=17.5.0; extra == \"tls\" in /usr/local/lib/python3.8/dist-packages (from docker[tls]) (19.1.0)",
        "Requirement already satisfied: cryptography>=1.3.4; extra == \"tls\" in /usr/lib/python3/dist-packages (from docker[tls]) (2.8)",
        "Requirement already satisfied: idna>=2.0.0; extra == \"tls\" in /usr/lib/python3/dist-packages (from docker[tls]) (2.8)"
    ],
    "version": null,
    "virtualenv": null
}

TASK [Install CentOS] **************************************************************************************************
task path: /mnt/c/Users/gschellhas/Desktop/ansible/Docker_Demo/playbook.yml:20
<192.168.1.178> ESTABLISH SSH CONNECTION FOR USER: gschellhas
<192.168.1.178> SSH: EXEC sshpass -d11 ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o 'User="gschellhas"' -o ConnectTimeout=10 -o ControlPath=/home/gschellhas/.ansible/cp/409e225f64 192.168.1.178 '/bin/sh -c '"'"'echo ~gschellhas && sleep 0'"'"''
<192.168.1.178> (0, b'/home/gschellhas\n', b'OpenSSH_8.2p1 Ubuntu-4ubuntu0.1, OpenSSL 1.1.1f  31 Mar 2020\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.178 is address\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 = 3595\r\ndebug3: mux_client_request_session: session request sent\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n')
<192.168.1.178> ESTABLISH SSH CONNECTION FOR USER: gschellhas
<192.168.1.178> SSH: EXEC sshpass -d11 ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o 'User="gschellhas"' -o ConnectTimeout=10 -o ControlPath=/home/gschellhas/.ansible/cp/409e225f64 192.168.1.178 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /home/gschellhas/.ansible/tmp/ansible-tmp-1605889522.405792-275241975423489 `" && echo ansible-tmp-1605889522.405792-275241975423489="` echo /home/gschellhas/.ansible/tmp/ansible-tmp-1605889522.405792-275241975423489 `" ) && sleep 0'"'"''
<192.168.1.178> (0, b'ansible-tmp-1605889522.405792-275241975423489=/home/gschellhas/.ansible/tmp/ansible-tmp-1605889522.405792-275241975423489\n', b'OpenSSH_8.2p1 Ubuntu-4ubuntu0.1, OpenSSL 1.1.1f  31 Mar 2020\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.178 is address\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 = 3595\r\ndebug3: mux_client_request_session: session request sent\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n')
Using module file /home/gschellhas/.ansible/collections/ansible_collections/community/general/plugins/modules/docker_container.py
<192.168.1.178> PUT /home/gschellhas/.ansible/tmp/ansible-local-3585h_05m3k2/tmpmvimi41z TO /home/gschellhas/.ansible/tmp/ansible-tmp-1605889522.405792-275241975423489/AnsiballZ_docker_container.py
<192.168.1.178> SSH: EXEC sshpass -d11 sftp -o BatchMode=no -b - -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o 'User="gschellhas"' -o ConnectTimeout=10 -o ControlPath=/home/gschellhas/.ansible/cp/409e225f64 '[192.168.1.178]'
<192.168.1.178> (0, b'sftp> put /home/gschellhas/.ansible/tmp/ansible-local-3585h_05m3k2/tmpmvimi41z /home/gschellhas/.ansible/tmp/ansible-tmp-1605889522.405792-275241975423489/AnsiballZ_docker_container.py\n', b'OpenSSH_8.2p1 Ubuntu-4ubuntu0.1, OpenSSL 1.1.1f  31 Mar 2020\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.178 is address\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 = 3595\r\ndebug3: mux_client_request_session: session request sent\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/gschellhas size 0\r\ndebug3: Looking up /home/gschellhas/.ansible/tmp/ansible-local-3585h_05m3k2/tmpmvimi41z\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/gschellhas/.ansible/tmp/ansible-tmp-1605889522.405792-275241975423489/AnsiballZ_docker_container.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:30032\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 30032 bytes at 131072\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.178> ESTABLISH SSH CONNECTION FOR USER: gschellhas
<192.168.1.178> SSH: EXEC sshpass -d11 ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o 'User="gschellhas"' -o ConnectTimeout=10 -o ControlPath=/home/gschellhas/.ansible/cp/409e225f64 192.168.1.178 '/bin/sh -c '"'"'chmod u+x /home/gschellhas/.ansible/tmp/ansible-tmp-1605889522.405792-275241975423489/ /home/gschellhas/.ansible/tmp/ansible-tmp-1605889522.405792-275241975423489/AnsiballZ_docker_container.py && sleep 0'"'"''
<192.168.1.178> (0, b'', b'OpenSSH_8.2p1 Ubuntu-4ubuntu0.1, OpenSSL 1.1.1f  31 Mar 2020\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.178 is address\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 = 3595\r\ndebug3: mux_client_request_session: session request sent\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n')
<192.168.1.178> ESTABLISH SSH CONNECTION FOR USER: gschellhas
<192.168.1.178> SSH: EXEC sshpass -d11 ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o 'User="gschellhas"' -o ConnectTimeout=10 -o ControlPath=/home/gschellhas/.ansible/cp/409e225f64 -tt 192.168.1.178 '/bin/sh -c '"'"'sudo -H -S  -p "[sudo via ansible, key=frkucmcedtxirusajcpvtjxqweviyybi] password:" -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-frkucmcedtxirusajcpvtjxqweviyybi ; /usr/bin/python3 /home/gschellhas/.ansible/tmp/ansible-tmp-1605889522.405792-275241975423489/AnsiballZ_docker_container.py'"'"'"'"'"'"'"'"' && sleep 0'"'"''
Escalation succeeded
<192.168.1.178> (1, b'\r\nTraceback (most recent call last):\r\n  File "/home/gschellhas/.ansible/tmp/ansible-tmp-1605889522.405792-275241975423489/AnsiballZ_docker_container.py", line 102, in <module>\r\n    _ansiballz_main()\r\n  File "/home/gschellhas/.ansible/tmp/ansible-tmp-1605889522.405792-275241975423489/AnsiballZ_docker_container.py", line 94, in _ansiballz_main\r\n    invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)\r\n  File "/home/gschellhas/.ansible/tmp/ansible-tmp-1605889522.405792-275241975423489/AnsiballZ_docker_container.py", line 40, in invoke_module\r\n    runpy.run_module(mod_name=\'ansible_collections.community.general.plugins.modules.docker_container\', init_globals=None, run_name=\'__main__\', alter_sys=True)\r\n  File "/usr/lib/python3.8/runpy.py", line 207, in run_module\r\n    return _run_module_code(code, init_globals, run_name, mod_spec)\r\n  File "/usr/lib/python3.8/runpy.py", line 97, in _run_module_code\r\n    _run_code(code, mod_globals, init_globals,\r\n  File "/usr/lib/python3.8/runpy.py", line 87, in _run_code\r\n    exec(code, run_globals)\r\n  File "/tmp/ansible_community.general.docker_container_payload_u5b7biyi/ansible_community.general.docker_container_payload.zip/ansible_collections/community/general/plugins/modules/docker_container.py", line 3463, in <module>\r\n  File "/tmp/ansible_community.general.docker_container_payload_u5b7biyi/ansible_community.general.docker_container_payload.zip/ansible_collections/community/general/plugins/modules/docker_container.py", line 3424, in main\r\n  File "/tmp/ansible_community.general.docker_container_payload_u5b7biyi/ansible_community.general.docker_container_payload.zip/ansible_collections/community/general/plugins/modules/docker_container.py", line 3267, in __init__\r\nTypeError: deprecate() got an unexpected keyword argument \'collection_name\'\r\n', b'OpenSSH_8.2p1 Ubuntu-4ubuntu0.1, OpenSSL 1.1.1f  31 Mar 2020\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.178 is address\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 = 3595\r\ndebug3: mux_client_request_session: session request sent\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 1\r\nShared connection to 192.168.1.178 closed.\r\n')
<192.168.1.178> Failed to connect to the host via ssh: OpenSSH_8.2p1 Ubuntu-4ubuntu0.1, OpenSSL 1.1.1f  31 Mar 2020
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: include /etc/ssh/ssh_config.d/*.conf matched no files
debug1: /etc/ssh/ssh_config line 21: Applying options for *
debug2: resolve_canonicalize: hostname 192.168.1.178 is address
debug1: auto-mux: Trying existing master
debug2: fd 3 setting O_NONBLOCK
debug2: mux_client_hello_exchange: master version 4
debug3: mux_client_forwards: request forwardings: 0 local, 0 remote
debug3: mux_client_request_session: entering
debug3: mux_client_request_alive: entering
debug3: mux_client_request_alive: done pid = 3595
debug3: mux_client_request_session: session request sent
debug3: mux_client_read_packet: read header failed: Broken pipe
debug2: Received exit status from master 1
Shared connection to 192.168.1.178 closed.
<192.168.1.178> ESTABLISH SSH CONNECTION FOR USER: gschellhas
<192.168.1.178> SSH: EXEC sshpass -d11 ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o 'User="gschellhas"' -o ConnectTimeout=10 -o ControlPath=/home/gschellhas/.ansible/cp/409e225f64 192.168.1.178 '/bin/sh -c '"'"'rm -f -r /home/gschellhas/.ansible/tmp/ansible-tmp-1605889522.405792-275241975423489/ > /dev/null 2>&1 && sleep 0'"'"''
<192.168.1.178> (0, b'', b'OpenSSH_8.2p1 Ubuntu-4ubuntu0.1, OpenSSL 1.1.1f  31 Mar 2020\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.178 is address\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 = 3595\r\ndebug3: mux_client_request_session: session request sent\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n')
fatal: [192.168.1.178]: FAILED! => {
    "changed": false,
    "module_stderr": "OpenSSH_8.2p1 Ubuntu-4ubuntu0.1, OpenSSL 1.1.1f  31 Mar 2020\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.178 is address\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 = 3595\r\ndebug3: mux_client_request_session: session request sent\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 1\r\nShared connection to 192.168.1.178 closed.\r\n",
    "module_stdout": "\r\nTraceback (most recent call last):\r\n  File \"/home/gschellhas/.ansible/tmp/ansible-tmp-1605889522.405792-275241975423489/AnsiballZ_docker_container.py\", line 102, in <module>\r\n    _ansiballz_main()\r\n  File \"/home/gschellhas/.ansible/tmp/ansible-tmp-1605889522.405792-275241975423489/AnsiballZ_docker_container.py\", line 94, in _ansiballz_main\r\n    invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)\r\n  File \"/home/gschellhas/.ansible/tmp/ansible-tmp-1605889522.405792-275241975423489/AnsiballZ_docker_container.py\", line 40, in invoke_module\r\n    runpy.run_module(mod_name='ansible_collections.community.general.plugins.modules.docker_container', init_globals=None, run_name='__main__', alter_sys=True)\r\n  File \"/usr/lib/python3.8/runpy.py\", line 207, in run_module\r\n    return _run_module_code(code, init_globals, run_name, mod_spec)\r\n  File \"/usr/lib/python3.8/runpy.py\", line 97, in _run_module_code\r\n    _run_code(code, mod_globals, init_globals,\r\n  File \"/usr/lib/python3.8/runpy.py\", line 87, in _run_code\r\n    exec(code, run_globals)\r\n  File \"/tmp/ansible_community.general.docker_container_payload_u5b7biyi/ansible_community.general.docker_container_payload.zip/ansible_collections/community/general/plugins/modules/docker_container.py\", line 3463, in <module>\r\n  File \"/tmp/ansible_community.general.docker_container_payload_u5b7biyi/ansible_community.general.docker_container_payload.zip/ansible_collections/community/general/plugins/modules/docker_container.py\", line 3424, in main\r\n  File \"/tmp/ansible_community.general.docker_container_payload_u5b7biyi/ansible_community.general.docker_container_payload.zip/ansible_collections/community/general/plugins/modules/docker_container.py\", line 3267, in __init__\r\nTypeError: deprecate() got an unexpected keyword argument 'collection_name'\r\n",
    "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error",
    "rc": 1
}

PLAY RECAP *************************************************************************************************************
192.168.1.178              : ok=4    changed=0    unreachable=0    failed=1    skipped=0    rescued=0    ignored=0
ansibullbot commented 3 years ago

Files identified in the description: None

If these files are inaccurate, please update the component name section of the description or use the !component bot command.

click here for bot help

felixfontein commented 3 years ago

See the README (https://github.com/ansible-collections/community.general/blob/main/README.md), it says Ansible versions before 2.9.10 are not supported..

If you upgrade your Ansible to 2.9.10 or newer, or switch to Ansible 2.10 or ansible-base 2.10, it will work (or at least fail for a different reason :) ).