Skip to content

Instantly share code, notes, and snippets.

@kovkev
Created October 8, 2019 14:32
Show Gist options
  • Save kovkev/b5da5d750f956240cd569f0c55fade79 to your computer and use it in GitHub Desktop.
Save kovkev/b5da5d750f956240cd569f0c55fade79 to your computer and use it in GitHub Desktop.
Target //corp/dev:master_ami up-to-date:
bazel-bin/corp/dev/master_ami_config_deploy_packer.py
INFO: Elapsed time: 1.376s, Critical Path: 0.66s
INFO: 2 processes: 2 darwin-sandbox.
INFO: Build completed successfully, 3 total actions
INFO: Build completed successfully, 3 total actions
amazon-ebs output will be in this color.
==> amazon-ebs: Prevalidating AMI Name: packer-example 1570543979
amazon-ebs: Found Image ID: ami-04763b3055de4860b
==> amazon-ebs: Creating temporary keypair: packer_5d9c996b-6614-1d0e-417d-b92efad4e438
==> amazon-ebs: Creating temporary security group for this instance: packer_5d9c996e-b6b1-fb34-227f-4bfa0ff5de4f
==> amazon-ebs: Authorizing access to port 22 from [0.0.0.0/0] in the temporary security groups...
==> amazon-ebs: Launching a source AWS instance...
==> amazon-ebs: Adding tags to source instance
amazon-ebs: Adding tag: "Name": "Packer Builder"
amazon-ebs: Instance ID: i-01796d55a56452630
==> amazon-ebs: Waiting for instance (i-01796d55a56452630) to become ready...
==> amazon-ebs: Using ssh communicator to connect: 54.209.103.127
==> amazon-ebs: Waiting for SSH to become available...
==> amazon-ebs: Connected to SSH!
==> amazon-ebs: Provisioning with shell script: /var/folders/tj/tshgns294mbd2qlh8zg4wj4m0000gp/T/packer-shell639533163
==> amazon-ebs: Provisioning with Ansible...
==> amazon-ebs: Executing Ansible: ansible-playbook --extra-vars packer_build_name=amazon-ebs packer_builder_type=amazon-ebs -o IdentitiesOnly=yes -i /var/folders/tj/tshgns294mbd2qlh8zg4wj4m0000gp/T/packer-provisioner-ansible459654474 /private/var/folders/tj/tshgns294mbd2qlh8zg4wj4m0000gp/T/tmpf3BU0mdeploy_packer/files/playbook_master.json -e ansible_ssh_private_key_file=/var/folders/tj/tshgns294mbd2qlh8zg4wj4m0000gp/T/ansible-key194005463 -vvvv --extra-vars --become-method=su
amazon-ebs: ansible-playbook 2.8.5
amazon-ebs: config file = /Users/kevin/.ansible.cfg
amazon-ebs: configured module search path = ['/Users/kevin/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
amazon-ebs: ansible python module location = /usr/local/Cellar/ansible/2.8.5/libexec/lib/python3.7/site-packages/ansible
amazon-ebs: executable location = /usr/local/bin/ansible-playbook
amazon-ebs: python version = 3.7.4 (default, Sep 7 2019, 18:27:02) [Clang 10.0.1 (clang-1001.0.46.4)]
amazon-ebs: Using /Users/kevin/.ansible.cfg as config file
amazon-ebs: setting up inventory plugins
amazon-ebs: host_list declined parsing /var/folders/tj/tshgns294mbd2qlh8zg4wj4m0000gp/T/packer-provisioner-ansible459654474 as it did not pass it's verify_file() method
amazon-ebs: script declined parsing /var/folders/tj/tshgns294mbd2qlh8zg4wj4m0000gp/T/packer-provisioner-ansible459654474 as it did not pass it's verify_file() method
amazon-ebs: auto declined parsing /var/folders/tj/tshgns294mbd2qlh8zg4wj4m0000gp/T/packer-provisioner-ansible459654474 as it did not pass it's verify_file() method
amazon-ebs: Parsed /var/folders/tj/tshgns294mbd2qlh8zg4wj4m0000gp/T/packer-provisioner-ansible459654474 inventory source with ini plugin
amazon-ebs: Loading callback plugin default of type stdout, v2.0 from /usr/local/Cellar/ansible/2.8.5/libexec/lib/python3.7/site-packages/ansible/plugins/callback/default.py
amazon-ebs:
amazon-ebs: PLAYBOOK: playbook_master.json *************************************************
amazon-ebs: Positional arguments: /private/var/folders/tj/tshgns294mbd2qlh8zg4wj4m0000gp/T/tmpf3BU0mdeploy_packer/files/playbook_master.json
amazon-ebs: verbosity: 4
amazon-ebs: connection: smart
amazon-ebs: timeout: 10
amazon-ebs: become_method: sudo
amazon-ebs: tags: ('all',)
amazon-ebs: inventory: ('/var/folders/tj/tshgns294mbd2qlh8zg4wj4m0000gp/T/packer-provisioner-ansible459654474',)
amazon-ebs: extra_vars: ('packer_build_name=amazon-ebs packer_builder_type=amazon-ebs -o IdentitiesOnly=yes', 'ansible_ssh_private_key_file=/var/folders/tj/tshgns294mbd2qlh8zg4wj4m0000gp/T/ansible-key194005463', '--become-method=su')
amazon-ebs: forks: 5
amazon-ebs: 1 plays in /private/var/folders/tj/tshgns294mbd2qlh8zg4wj4m0000gp/T/tmpf3BU0mdeploy_packer/files/playbook_master.json
amazon-ebs:
amazon-ebs: PLAY [all] *********************************************************************
amazon-ebs:
amazon-ebs: TASK [Gathering Facts] *********************************************************
amazon-ebs: task path: /private/var/folders/tj/tshgns294mbd2qlh8zg4wj4m0000gp/T/tmpf3BU0mdeploy_packer/files/playbook_master.json:3
amazon-ebs: <127.0.0.1> ESTABLISH SSH CONNECTION FOR USER: root
amazon-ebs: <127.0.0.1> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o Port=55778 -o 'IdentityFile="/var/folders/tj/tshgns294mbd2qlh8zg4wj4m0000gp/T/ansible-key194005463"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/Users/kevin/.ansible/cp/6800b38506 127.0.0.1 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /tmp/${USER}/ansible/ansible-tmp-1570544110.498606-210116258857407 `" && echo ansible-tmp-1570544110.498606-210116258857407="` echo /tmp/${USER}/ansible/ansible-tmp-1570544110.498606-210116258857407 `" ) && sleep 0'"'"''
amazon-ebs: <127.0.0.1> (0, b'ansible-tmp-1570544110.498606-210116258857407=/tmp/ubuntu/ansible/ansible-tmp-1570544110.498606-210116258857407\n', b'OpenSSH_7.9p1, LibreSSL 2.7.3\r\ndebug1: Reading configuration data /Users/kevin/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 48: Applying options for *\r\ndebug1: /etc/ssh/ssh_config line 52: Applying options for *\r\ndebug2: resolve_canonicalize: hostname 127.0.0.1 is address\r\ndebug1: auto-mux: Trying existing master\r\ndebug1: Control socket "/Users/kevin/.ansible/cp/6800b38506" does not exist\r\ndebug2: ssh_connect_direct\r\ndebug1: Connecting to 127.0.0.1 [127.0.0.1] port 55778.\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 /var/folders/tj/tshgns294mbd2qlh8zg4wj4m0000gp/T/ansible-key194005463 type -1\r\ndebug1: identity file /var/folders/tj/tshgns294mbd2qlh8zg4wj4m0000gp/T/ansible-key194005463-cert type -1\r\ndebug1: Local version string SSH-2.0-OpenSSH_7.9\r\ndebug1: Remote protocol version 2.0, remote software version Go\r\ndebug1: no match: Go\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug1: Authenticating to 127.0.0.1:55778 as \'root\'\r\ndebug3: put_host_port: [127.0.0.1]:55778\r\ndebug3: hostkeys_foreach: reading file "/Users/kevin/.ssh/known_hosts"\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,diffie-hellman-group14-sha1,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,ssh-ed25519-cert-v01@openssh.com,rsa-sha2-512-cert-v01@openssh.com,rsa-sha2-256-cert-v01@openssh.com,ssh-rsa-cert-v01@openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,ssh-ed25519,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@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1\r\ndebug2: host key algorithms: ssh-rsa\r\ndebug2: ciphers ctos: aes128-gcm@openssh.com,chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr\r\ndebug2: ciphers stoc: aes128-gcm@openssh.com,chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr\r\ndebug2: MACs ctos: hmac-sha2-256-etm@openssh.com,hmac-sha2-256,hmac-sha1,hmac-sha1-96\r\ndebug2: MACs stoc: hmac-sha2-256-etm@openssh.com,hmac-sha2-256,hmac-sha1,hmac-sha1-96\r\ndebug2: compression ctos: none\r\ndebug2: compression stoc: none\r\ndebug2: languages ctos: \r\ndebug2: languages stoc: \r\ndebug2: first_kex_follows 0 \r\ndebug2: reserved 0 \r\ndebug1: kex: algorithm: curve25519-sha256@libssh.org\r\ndebug1: kex: host key algorithm: ssh-rsa\r\ndebug1: kex: server->client cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none\r\ndebug1: kex: client->server cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none\r\ndebug3: send packet: type 30\r\ndebug1: expecting SSH2_MSG_KEX_ECDH_REPLY\r\ndebug3: receive packet: type 31\r\ndebug1: Server host key: ssh-rsa SHA256:Kh3ZwqtigRdDjeTHVyQE+lAuSSUQ2uH49dMj7OufH5c\r\ndebug3: put_host_port: [127.0.0.1]:55778\r\ndebug3: put_host_port: [127.0.0.1]:55778\r\ndebug3: hostkeys_foreach: reading file "/Users/kevin/.ssh/known_hosts"\r\ndebug1: checking without port identifier\r\ndebug3: hostkeys_foreach: reading file "/Users/kevin/.ssh/known_hosts"\r\nWarning: Permanently added \'[127.0.0.1]:55778\' (RSA) to the list of known hosts.\r\ndebug3: send packet: type 21\r\ndebug2: set_newkeys: mode 1\r\ndebug1: rekey 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 after 134217728 blocks\r\ndebug1: Will attempt key: /var/folders/tj/tshgns294mbd2qlh8zg4wj4m0000gp/T/ansible-key194005463 explicit\r\ndebug2: pubkey_prepare: done\r\ndebug3: send packet: type 5\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\r\ndebug3: start over, passed a different list publickey\r\ndebug3: preferred gssapi-with-mic,gssapi-keyex,hostbased,publickey\r\ndebug3: authmethod_lookup publickey\r\ndebug3: remaining preferred: ,gssapi-keyex,hostbased,publickey\r\ndebug3: authmethod_is_enabled publickey\r\ndebug1: Next authentication method: publickey\r\ndebug1: Trying private key: /var/folders/tj/tshgns294mbd2qlh8zg4wj4m0000gp/T/ansible-key194005463\r\ndebug3: sign_and_send_pubkey: RSA SHA256:NXT4XroIEDJaB8GzxyG/reh62KIPg8xWB5kEJDXAtSw\r\ndebug3: sign_and_send_pubkey: signing using ssh-rsa\r\ndebug3: send packet: type 50\r\ndebug2: we sent a publickey packet, wait for reply\r\ndebug3: receive packet: type 52\r\ndebug1: Authentication succeeded (publickey).\r\nAuthenticated to 127.0.0.1 ([127.0.0.1]:55778).\r\ndebug1: setting up multiplex master socket\r\ndebug3: muxserver_listen: temporary control path /Users/kevin/.ansible/cp/6800b38506.XPVqD5FaKG3PAgEC\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 [/Users/kevin/.ansible/cp/6800b38506]\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 0x20\r\ndebug1: control_persist_detach: backgrounding master process\r\ndebug2: control_persist_detach: background process is 94149\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\ndebug3: fd 5 is 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 = 94151\r\ndebug3: mux_client_request_session: session request sent\r\ndebug3: mux_master_read_cb: channel 1 packet type 0x10000002 len 328\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 \'( umask 77 && mkdir -p "` echo /tmp/${USER}/ansible/ansible-tmp-1570544110.498606-210116258857407 `" && echo ansible-tmp-1570544110.498606-210116258857407="` echo /tmp/${USER}/ansible/ansible-tmp-1570544110.498606-210116258857407 `" ) && 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 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 = en_US.UTF-8\r\ndebug2: channel 2: request env confirm 0\r\ndebug3: send packet: type 98\r\ndebug1: Sending command: /bin/sh -c \'( umask 77 && mkdir -p "` echo /tmp/${USER}/ansible/ansible-tmp-1570544110.498606-210116258857407 `" && echo ansible-tmp-1570544110.498606-210116258857407="` echo /tmp/${USER}/ansible/ansible-tmp-1570544110.498606-210116258857407 `" ) && 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 2097152 rmax 32768\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 97\r\ndebug2: channel 2: rcvd close\r\ndebug2: channel 2: output open -> drain\r\ndebug2: channel 2: chan_shutdown_read (i0 o1 sock -1 wfd 6 efd 8 [write])\r\ndebug2: channel 2: input open -> closed\r\ndebug3: channel 2: will not send data after close\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\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')
amazon-ebs: <default> Attempting python interpreter discovery
amazon-ebs: <127.0.0.1> ESTABLISH SSH CONNECTION FOR USER: root
amazon-ebs: <127.0.0.1> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o Port=55778 -o 'IdentityFile="/var/folders/tj/tshgns294mbd2qlh8zg4wj4m0000gp/T/ansible-key194005463"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/Users/kevin/.ansible/cp/6800b38506 127.0.0.1 '/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'"'"''
amazon-ebs: <127.0.0.1> (0, b'PLATFORM\nLinux\nFOUND\n/usr/bin/python3.5\n/usr/bin/python3\nENDFOUND\n', b'OpenSSH_7.9p1, LibreSSL 2.7.3\r\ndebug1: Reading configuration data /Users/kevin/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 48: Applying options for *\r\ndebug1: /etc/ssh/ssh_config line 52: Applying options for *\r\ndebug2: resolve_canonicalize: hostname 127.0.0.1 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 = 94151\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')
amazon-ebs: <127.0.0.1> ESTABLISH SSH CONNECTION FOR USER: root
amazon-ebs: <127.0.0.1> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o Port=55778 -o 'IdentityFile="/var/folders/tj/tshgns294mbd2qlh8zg4wj4m0000gp/T/ansible-key194005463"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/Users/kevin/.ansible/cp/6800b38506 127.0.0.1 '/bin/sh -c '"'"'/usr/bin/python3.5 && sleep 0'"'"''
amazon-ebs: <127.0.0.1> (0, b'{"osrelease_content": "NAME=\\"Ubuntu\\"\\nVERSION=\\"16.04.6 LTS (Xenial Xerus)\\"\\nID=ubuntu\\nID_LIKE=debian\\nPRETTY_NAME=\\"Ubuntu 16.04.6 LTS\\"\\nVERSION_ID=\\"16.04\\"\\nHOME_URL=\\"http://www.ubuntu.com/\\"\\nSUPPORT_URL=\\"http://help.ubuntu.com/\\"\\nBUG_REPORT_URL=\\"http://bugs.launchpad.net/ubuntu/\\"\\nVERSION_CODENAME=xenial\\nUBUNTU_CODENAME=xenial\\n", "platform_dist_result": ["Ubuntu", "16.04", "xenial"]}\n', b'OpenSSH_7.9p1, LibreSSL 2.7.3\r\ndebug1: Reading configuration data /Users/kevin/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 48: Applying options for *\r\ndebug1: /etc/ssh/ssh_config line 52: Applying options for *\r\ndebug2: resolve_canonicalize: hostname 127.0.0.1 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 = 94151\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')
amazon-ebs: Using module file /usr/local/Cellar/ansible/2.8.5/libexec/lib/python3.7/site-packages/ansible/modules/system/setup.py
amazon-ebs: <127.0.0.1> PUT /Users/kevin/.ansible/tmp/ansible-local-94143tgd6pr2c/tmpyliiaipz TO /tmp/ubuntu/ansible/ansible-tmp-1570544110.498606-210116258857407/AnsiballZ_setup.py
amazon-ebs: <127.0.0.1> SSH: EXEC scp -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o Port=55778 -o 'IdentityFile="/var/folders/tj/tshgns294mbd2qlh8zg4wj4m0000gp/T/ansible-key194005463"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/Users/kevin/.ansible/cp/6800b38506 /Users/kevin/.ansible/tmp/ansible-local-94143tgd6pr2c/tmpyliiaipz '[127.0.0.1]:/tmp/ubuntu/ansible/ansible-tmp-1570544110.498606-210116258857407/AnsiballZ_setup.py'
amazon-ebs: <127.0.0.1> (0, b'', b'Executing: program /usr/bin/ssh host 127.0.0.1, user (unspecified), command scp -v -t /tmp/ubuntu/ansible/ansible-tmp-1570544110.498606-210116258857407/AnsiballZ_setup.py\nOpenSSH_7.9p1, LibreSSL 2.7.3\r\ndebug1: Reading configuration data /Users/kevin/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 48: Applying options for *\r\ndebug1: /etc/ssh/ssh_config line 52: Applying options for *\r\ndebug2: resolve_canonicalize: hostname 127.0.0.1 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 = 94151\r\ndebug3: mux_client_request_session: session request sent\r\nSending file modes: C0600 252501 tmpyliiaipz\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n')
amazon-ebs: <127.0.0.1> ESTABLISH SSH CONNECTION FOR USER: root
amazon-ebs: <127.0.0.1> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o Port=55778 -o 'IdentityFile="/var/folders/tj/tshgns294mbd2qlh8zg4wj4m0000gp/T/ansible-key194005463"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/Users/kevin/.ansible/cp/6800b38506 127.0.0.1 '/bin/sh -c '"'"'chmod u+x /tmp/ubuntu/ansible/ansible-tmp-1570544110.498606-210116258857407/ /tmp/ubuntu/ansible/ansible-tmp-1570544110.498606-210116258857407/AnsiballZ_setup.py && sleep 0'"'"''
amazon-ebs: <127.0.0.1> (0, b'', b'OpenSSH_7.9p1, LibreSSL 2.7.3\r\ndebug1: Reading configuration data /Users/kevin/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 48: Applying options for *\r\ndebug1: /etc/ssh/ssh_config line 52: Applying options for *\r\ndebug2: resolve_canonicalize: hostname 127.0.0.1 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 = 94151\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')
amazon-ebs: <127.0.0.1> ESTABLISH SSH CONNECTION FOR USER: root
amazon-ebs: <127.0.0.1> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o Port=55778 -o 'IdentityFile="/var/folders/tj/tshgns294mbd2qlh8zg4wj4m0000gp/T/ansible-key194005463"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/Users/kevin/.ansible/cp/6800b38506 -tt 127.0.0.1 '/bin/sh -c '"'"'/usr/bin/python3 /tmp/ubuntu/ansible/ansible-tmp-1570544110.498606-210116258857407/AnsiballZ_setup.py && sleep 0'"'"''
amazon-ebs: <127.0.0.1> (0, b'\n{"invocation": {"module_args": {"gather_timeout": 10, "filter": "*", "fact_path": "/etc/ansible/facts.d", "gather_subset": ["all"]}}, "ansible_facts": {"ansible_bios_date": "08/24/2006", "ansible_lo": {"hw_timestamp_filters": [], "promisc": false, "ipv6": [{"address": "::1", "prefix": "128", "scope": "host"}], "device": "lo", "features": {"tx_gso_robust": "off [fixed]", "generic_segmentation_offload": "on", "tx_tcp_segmentation": "on", "tx_fcoe_segmentation": "off [fixed]", "rx_vlan_offload": "off [fixed]", "tx_tcp_ecn_segmentation": "on", "tx_gre_segmentation": "off [fixed]", "tx_checksum_fcoe_crc": "off [fixed]", "tx_nocache_copy": "off [fixed]", "rx_fcs": "off [fixed]", "rx_vlan_stag_hw_parse": "off [fixed]", "tx_checksum_ipv4": "off [fixed]", "tx_vlan_stag_hw_insert": "off [fixed]", "loopback": "on [fixed]", "netns_local": "on [fixed]", "tx_checksumming": "on", "fcoe_mtu": "off [fixed]", "scatter_gather": "on", "l2_fwd_offload": "off [fixed]", "tx_checksum_ipv6": "off [fixed]", "rx_checksumming": "on [fixed]", "highdma": "on [fixed]", "tx_scatter_gather_fraglist": "on [fixed]", "udp_fragmentation_offload": "on", "rx_all": "off [fixed]", "large_receive_offload": "off [fixed]", "receive_hashing": "off [fixed]", "tx_tcp6_segmentation": "on", "tx_checksum_sctp": "on [fixed]", "tx_sit_segmentation": "off [fixed]", "vlan_challenged": "on [fixed]", "tx_scatter_gather": "on [fixed]", "tx_ipip_segmentation": "off [fixed]", "tx_lockless": "on [fixed]", "tx_udp_tnl_segmentation": "off [fixed]", "rx_vlan_filter": "off [fixed]", "tx_checksum_ip_generic": "on [fixed]", "ntuple_filters": "off [fixed]", "tx_vlan_offload": "off [fixed]", "tcp_segmentation_offload": "on", "generic_receive_offload": "on", "rx_vlan_stag_filter": "off [fixed]", "hw_tc_offload": "off [fixed]", "busy_poll": "off [fixed]"}, "timestamping": ["rx_software", "software"], "mtu": 65536, "type": "loopback", "active": true, "ipv4": {"address": "127.0.0.1", "network": "127.0.0.0", "netmask": "255.0.0.0", "broadcast": "host"}}, "ansible_processor_vcpus": 1, "ansible_kernel": "4.4.0-1092-aws", "ansible_uptime_seconds": 101, "ansible_userspace_architecture": "x86_64", "ansible_lsb": {"release": "16.04", "description": "Ubuntu 16.04.6 LTS", "codename": "xenial", "major_release": "16", "id": "Ubuntu"}, "ansible_interfaces": ["eth0", "lo"], "ansible_product_name": "HVM domU", "ansible_machine_id": "5d9a39e413334fd691bfd2f5404566bf", "ansible_fqdn": "ip-172-31-28-161.ec2.internal", "ansible_processor_count": 1, "ansible_dns": {"search": ["ec2.internal"], "nameservers": ["172.31.0.2"]}, "ansible_all_ipv6_addresses": ["fe80::cc2:5ff:fea2:fd48"], "ansible_selinux_python_present": false, "ansible_distribution_file_path": "/etc/os-release", "ansible_user_shell": "/bin/bash", "ansible_processor_cores": 1, "ansible_product_version": "4.2.amazon", "ansible_default_ipv6": {}, "ansible_machine": "x86_64", "ansible_form_factor": "Other", "ansible_product_serial": "NA", "ansible_user_uid": 1000, "ansible_virtualization_type": "xen", "ansible_architecture": "x86_64", "ansible_system_capabilities": [""], "ansible_hostnqn": "", "gather_subset": ["all"], "ansible_bios_version": "4.2.amazon", "ansible_all_ipv4_addresses": ["172.31.28.161"], "ansible_is_chroot": false, "ansible_ssh_host_key_rsa_public": "AAAAB3NzaC1yc2EAAAADAQABAAABAQDJMHI2Kdkq95+OztAzP+mP13clVmVa/ZpwmFo//vBtTmy5k9BrSWntuQO42SfLUSSWExQ4f5F1MJkkyYdSKyL6O6gVKh7x6WQ9sem/ZBFACP7IQflP2cD8wc6HVNIercK9NIAaEkm8nUg6Vw1Z5lOG3gHB9P7r4rM8IZlFxv28lEmlYY72/R4UI8UIea8Xy667C/DdV/1vssddXHgOiNwWN/lVW0VKHYgC6klI5CMv5fo6tTJMentLAMeRvsvNcxG0zhfeqLqQnUSq7CbYpgSKGCegq8TX0NFeElsBY8teWnr+/St9YjHyP7SBHaD+vVFrrkmPIxQ+PrrPgPRTgw5X", "ansible_memfree_mb": 514, "ansible_nodename": "ip-172-31-28-161", "ansible_python_version": "3.5.2", "ansible_pkg_mgr": "apt", "ansible_mounts": [{"block_available": 0, "inode_total": 15, "fstype": "squashfs", "uuid": "N/A", "block_used": 144, "size_available": 0, "options": "ro,nodev,relatime", "inode_used": 15, "size_total": 18874368, "inode_available": 0, "device": "/dev/loop1", "block_size": 131072, "block_total": 144, "mount": "/snap/amazon-ssm-agent/1455"}, {"block_available": 0, "inode_total": 12823, "fstype": "squashfs", "uuid": "N/A", "block_used": 710, "size_available": 0, "options": "ro,nodev,relatime", "inode_used": 12823, "size_total": 93061120, "inode_available": 0, "device": "/dev/loop0", "block_size": 131072, "block_total": 710, "mount": "/snap/core/7396"}, {"block_available": 1766884, "inode_total": 1024000, "fstype": "ext4", "uuid": "40b30022-ea7b-4dad-9558-edfc5f29533d", "block_used": 249477, "size_available": 7237156864, "options": "rw,relatime,discard,data=ordered", "inode_used": 58091, "size_total": 8259014656, "inode_available": 965909, "device": "/dev/xvda1", "block_size": 4096, "block_total": 2016361, "mount": "/"}], "ansible_cmdline": {"BOOT_IMAGE": "/boot/vmlinuz-4.4.0-1092-aws", "nvme_core.io_timeout": "4294967295", "nvme.io_timeout": "4294967295", "console": "ttyS0", "ro": true, "root": "LABEL=cloudimg-rootfs"}, "ansible_env": {"SSH_CONNECTION": "173.246.4.168 55637 172.31.28.161 22", "SSH_CLIENT": "173.246.4.168 55637 22", "XDG_SESSION_ID": "1", "LOGNAME": "ubuntu", "PWD": "/home/ubuntu", "PATH": "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games", "_": "/bin/sh", "SHELL": "/bin/bash", "MAIL": "/var/mail/ubuntu", "XDG_RUNTIME_DIR": "/run/user/1000", "USER": "ubuntu", "SHLVL": "1", "SSH_AUTH_SOCK": "/tmp/ssh-qWRBpGgEe5/agent.1472", "HOME": "/home/ubuntu"}, "ansible_selinux": {"status": "Missing selinux Python library"}, "ansible_effective_group_id": 1000, "ansible_product_uuid": "NA", "ansible_virtualization_role": "guest", "ansible_eth0": {"device": "eth0", "hw_timestamp_filters": [], "mtu": 9001, "pciid": "vif-0", "features": {"tx_gso_robust": "on [fixed]", "generic_segmentation_offload": "on", "tx_tcp_segmentation": "on", "tx_fcoe_segmentation": "off [fixed]", "rx_vlan_offload": "off [fixed]", "tx_tcp_ecn_segmentation": "off [fixed]", "tx_gre_segmentation": "off [fixed]", "tx_checksum_fcoe_crc": "off [fixed]", "tx_nocache_copy": "off", "rx_fcs": "off [fixed]", "rx_vlan_stag_hw_parse": "off [fixed]", "tx_checksum_ipv4": "on [fixed]", "tx_vlan_stag_hw_insert": "off [fixed]", "loopback": "off [fixed]", "netns_local": "off [fixed]", "tx_checksumming": "on", "fcoe_mtu": "off [fixed]", "scatter_gather": "on", "l2_fwd_offload": "off [fixed]", "tx_checksum_ipv6": "on", "rx_checksumming": "on [fixed]", "highdma": "off [fixed]", "tx_scatter_gather_fraglist": "off [fixed]", "udp_fragmentation_offload": "off [fixed]", "rx_all": "off [fixed]", "large_receive_offload": "off [fixed]", "receive_hashing": "off [fixed]", "tx_tcp6_segmentation": "on", "tx_checksum_sctp": "off [fixed]", "tx_sit_segmentation": "off [fixed]", "vlan_challenged": "off [fixed]", "tx_scatter_gather": "on", "tx_ipip_segmentation": "off [fixed]", "tx_lockless": "off [fixed]", "tx_udp_tnl_segmentation": "off [fixed]", "rx_vlan_filter": "off [fixed]", "tx_checksum_ip_generic": "off [fixed]", "ntuple_filters": "off [fixed]", "tx_vlan_offload": "off [fixed]", "tcp_segmentation_offload": "on", "generic_receive_offload": "on", "rx_vlan_stag_filter": "off [fixed]", "hw_tc_offload": "off [fixed]", "busy_poll": "off [fixed]"}, "module": "xen_netfront", "timestamping": ["rx_software", "software"], "promisc": false, "ipv6": [{"address": "fe80::cc2:5ff:fea2:fd48", "prefix": "64", "scope": "link"}], "macaddress": "0e:c2:05:a2:fd:48", "type": "ether", "active": true, "ipv4": {"address": "172.31.28.161", "network": "172.31.16.0", "netmask": "255.255.240.0", "broadcast": "172.31.31.255"}}, "ansible_apparmor": {"status": "enabled"}, "ansible_python": {"version": {"major": 3, "releaselevel": "final", "micro": 2, "serial": 0, "minor": 5}, "version_info": [3, 5, 2, "final", 0], "type": "cpython", "executable": "/usr/bin/python3", "has_sslcontext": true}, "ansible_default_ipv4": {"network": "172.31.16.0", "gateway": "172.31.16.1", "broadcast": "172.31.31.255", "address": "172.31.28.161", "type": "ether", "mtu": 9001, "macaddress": "0e:c2:05:a2:fd:48", "netmask": "255.255.240.0", "alias": "eth0", "interface": "eth0"}, "ansible_local": {}, "ansible_user_gecos": "Ubuntu", "ansible_user_id": "ubuntu", "ansible_distribution_major_version": "16", "ansible_distribution_file_variety": "Debian", "ansible_user_gid": 1000, "ansible_system_capabilities_enforced": "True", "ansible_iscsi_iqn": "", "ansible_swaptotal_mb": 0, "ansible_proc_cmdline": {"BOOT_IMAGE": "/boot/vmlinuz-4.4.0-1092-aws", "nvme_core.io_timeout": "4294967295", "nvme.io_timeout": "4294967295", "console": ["tty1", "ttyS0"], "ro": true, "root": "LABEL=cloudimg-rootfs"}, "ansible_date_time": {"weekday": "Tuesday", "time": "14:15:14", "iso8601_basic": "20191008T141514496200", "tz": "UTC", "second": "14", "date": "2019-10-08", "iso8601_micro": "2019-10-08T14:15:14.496321Z", "minute": "15", "day": "08", "epoch": "1570544114", "hour": "14", "year": "2019", "weeknumber": "40", "iso8601": "2019-10-08T14:15:14Z", "month": "10", "tz_offset": "+0000", "weekday_number": "2", "iso8601_basic_short": "20191008T141514"}, "ansible_device_links": {"masters": {}, "labels": {"xvda1": ["cloudimg-rootfs"]}, "uuids": {"xvda1": ["40b30022-ea7b-4dad-9558-edfc5f29533d"]}, "ids": {}}, "ansible_domain": "ec2.internal", "ansible_ssh_host_key_dsa_public": "AAAAB3NzaC1kc3MAAACBAKK8ydFXRB2EnV0kM3D60QkODMch8O7qkD3FRQcvJ2jhgyViyfanGBEOGF7CLG1VnJRZCvIEwg+OWZDXCbvXUpC1XWzVrDuldBftfwdQeEZfzrdHlYrz2aKwHKAGf+43RJvtDW9o7yeFjvgQbwPZetkEMMw1Eu4eRYP+Qe+KwYJ7AAAAFQCWstwys6VgonN3GDqlZ9pJkaKXgQAAAIApTfUma5SPENz0aXREhUPlrjHiGQ8VEpXNtBDLMz+m0iJ6kb40bVRKbo82vAafiOjgCb+mfEOzqMg5hF0tiIyWtHw5wt7JprusVE2PI+Xfx6OBpWb6Mxzel62KqkT9pL0djojN6nKD9XYeOibrY//W/qlMv8V8UBM3iWPjKAGW7gAAAIBTqErfNXblHa5LsatumB/HNKKpFRFc7bv5K9IjQPUNG/sSEnowP4mVt7TIRIjA4S0f9isqxwhZkn2NzgdjAtbayj18V3eesl3MgT6+aF78JiNeT0OrfU73eTt7oUmeWdqSWQdpQtUHHWk2Qbj48jAx0NQWa1d6ICblCAFTUuhxMw==", "ansible_userspace_bits": "64", "ansible_processor_threads_per_core": 1, "ansible_fips": false, "ansible_system": "Linux", "ansible_user_dir": "/home/ubuntu", "ansible_distribution_version": "16.04", "ansible_ssh_host_key_ecdsa_public": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBJUZk+3GEeZcHuOhFzBk/PrjSSvxz7SJpYfqpUjGxptNBXKkWNk4tHH8LrJNOb4J41XsCcUO73/H/Qs1//iNji4=", "ansible_distribution": "Ubuntu", "ansible_hostname": "ip-172-31-28-161", "ansible_devices": {"ram7": {"partitions": {}, "sas_device_handle": null, "links": {"masters": [], "labels": [], "uuids": [], "ids": []}, "support_discard": "4096", "removable": "0", "vendor": null, "holders": [], "virtual": 1, "sectorsize": "512", "rotational": "1", "sas_address": null, "sectors": "131072", "scheduler_mode": "", "model": null, "host": "", "size": "64.00 MB"}, "ram9": {"partitions": {}, "sas_device_handle": null, "links": {"masters": [], "labels": [], "uuids": [], "ids": []}, "support_discard": "4096", "removable": "0", "vendor": null, "holders": [], "virtual": 1, "sectorsize": "512", "rotational": "1", "sas_address": null, "sectors": "131072", "scheduler_mode": "", "model": null, "host": "", "size": "64.00 MB"}, "ram15": {"partitions": {}, "sas_device_handle": null, "links": {"masters": [], "labels": [], "uuids": [], "ids": []}, "support_discard": "4096", "removable": "0", "vendor": null, "holders": [], "virtual": 1, "sectorsize": "512", "rotational": "1", "sas_address": null, "sectors": "131072", "scheduler_mode": "", "model": null, "host": "", "size": "64.00 MB"}, "ram8": {"partitions": {}, "sas_device_handle": null, "links": {"masters": [], "labels": [], "uuids": [], "ids": []}, "support_discard": "4096", "removable": "0", "vendor": null, "holders": [], "virtual": 1, "sectorsize": "512", "rotational": "1", "sas_address": null, "sectors": "131072", "scheduler_mode": "", "model": null, "host": "", "size": "64.00 MB"}, "loop2": {"partitions": {}, "sas_device_handle": null, "links": {"masters": [], "labels": [], "uuids": [], "ids": []}, "support_discard": "0", "removable": "0", "vendor": null, "holders": [], "virtual": 1, "sectorsize": "512", "rotational": "1", "sas_address": null, "sectors": "0", "scheduler_mode": "", "model": null, "host": "", "size": "0.00 Bytes"}, "xvda": {"partitions": {"xvda1": {"sectors": "16775135", "links": {"masters": [], "labels": ["cloudimg-rootfs"], "uuids": ["40b30022-ea7b-4dad-9558-edfc5f29533d"], "ids": []}, "size": "8.00 GB", "holders": [], "start": "2048", "uuid": "40b30022-ea7b-4dad-9558-edfc5f29533d", "sectorsize": 512}}, "sas_device_handle": null, "links": {"masters": [], "labels": [], "uuids": [], "ids": []}, "support_discard": "0", "removable": "0", "vendor": null, "holders": [], "virtual": 1, "sectorsize": "512", "rotational": "0", "sas_address": null, "sectors": "16777216", "scheduler_mode": "deadline", "model": null, "host": "", "size": "8.00 GB"}, "ram14": {"partitions": {}, "sas_device_handle": null, "links": {"masters": [], "labels": [], "uuids": [], "ids": []}, "support_discard": "4096", "removable": "0", "vendor": null, "holders": [], "virtual": 1, "sectorsize": "512", "rotational": "1", "sas_address": null, "sectors": "131072", "scheduler_mode": "", "model": null, "host": "", "size": "64.00 MB"}, "loop4": {"partitions": {}, "sas_device_handle": null, "links": {"masters": [], "labels": [], "uuids": [], "ids": []}, "support_discard": "0", "removable": "0", "vendor": null, "holders": [], "virtual": 1, "sectorsize": "512", "rotational": "1", "sas_address": null, "sectors": "0", "scheduler_mode": "", "model": null, "host": "", "size": "0.00 Bytes"}, "loop7": {"partitions": {}, "sas_device_handle": null, "links": {"masters": [], "labels": [], "uuids": [], "ids": []}, "support_discard": "0", "removable": "0", "vendor": null, "holders": [], "virtual": 1, "sectorsize": "512", "rotational": "1", "sas_address": null, "sectors": "0", "scheduler_mode": "", "model": null, "host": "", "size": "0.00 Bytes"}, "ram1": {"partitions": {}, "sas_device_handle": null, "links": {"masters": [], "labels": [], "uuids": [], "ids": []}, "support_discard": "4096", "removable": "0", "vendor": null, "holders": [], "virtual": 1, "sectorsize": "512", "rotational": "1", "sas_address": null, "sectors": "131072", "scheduler_mode": "", "model": null, "host": "", "size": "64.00 MB"}, "loop1": {"partitions": {}, "sas_device_handle": null, "links": {"masters": [], "labels": [], "uuids": [], "ids": []}, "support_discard": "4096", "removable": "0", "vendor": null, "holders": [], "virtual": 1, "sectorsize": "512", "rotational": "1", "sas_address": null, "sectors": "36808", "scheduler_mode": "", "model": null, "host": "", "size": "17.97 MB"}, "ram12": {"partitions": {}, "sas_device_handle": null, "links": {"masters": [], "labels": [], "uuids": [], "ids": []}, "support_discard": "4096", "removable": "0", "vendor": null, "holders": [], "virtual": 1, "sectorsize": "512", "rotational": "1", "sas_address": null, "sectors": "131072", "scheduler_mode": "", "model": null, "host": "", "size": "64.00 MB"}, "ram10": {"partitions": {}, "sas_device_handle": null, "links": {"masters": [], "labels": [], "uuids": [], "ids": []}, "support_discard": "4096", "removable": "0", "vendor": null, "holders": [], "virtual": 1, "sectorsize": "512", "rotational": "1", "sas_address": null, "sectors": "131072", "scheduler_mode": "", "model": null, "host": "", "size": "64.00 MB"}, "ram4": {"partitions": {}, "sas_device_handle": null, "links": {"masters": [], "labels": [], "uuids": [], "ids": []}, "support_discard": "4096", "removable": "0", "vendor": null, "holders": [], "virtual": 1, "sectorsize": "512", "rotational": "1", "sas_address": null, "sectors": "131072", "scheduler_mode": "", "model": null, "host": "", "size": "64.00 MB"}, "ram11": {"partitions": {}, "sas_device_handle": null, "links": {"masters": [], "labels": [], "uuids": [], "ids": []}, "support_discard": "4096", "removable": "0", "vendor": null, "holders": [], "virtual": 1, "sectorsize": "512", "rotational": "1", "sas_address": null, "sectors": "131072", "scheduler_mode": "", "model": null, "host": "", "size": "64.00 MB"}, "ram13": {"partitions": {}, "sas_device_handle": null, "links": {"masters": [], "labels": [], "uuids": [], "ids": []}, "support_discard": "4096", "removable": "0", "vendor": null, "holders": [], "virtual": 1, "sectorsize": "512", "rotational": "1", "sas_address": null, "sectors": "131072", "scheduler_mode": "", "model": null, "host": "", "size": "64.00 MB"}, "ram6": {"partitions": {}, "sas_device_handle": null, "links": {"masters": [], "labels": [], "uuids": [], "ids": []}, "support_discard": "4096", "removable": "0", "vendor": null, "holders": [], "virtual": 1, "sectorsize": "512", "rotational": "1", "sas_address": null, "sectors": "131072", "scheduler_mode": "", "model": null, "host": "", "size": "64.00 MB"}, "ram5": {"partitions": {}, "sas_device_handle": null, "links": {"masters": [], "labels": [], "uuids": [], "ids": []}, "support_discard": "4096", "removable": "0", "vendor": null, "holders": [], "virtual": 1, "sectorsize": "512", "rotational": "1", "sas_address": null, "sectors": "131072", "scheduler_mode": "", "model": null, "host": "", "size": "64.00 MB"}, "ram0": {"partitions": {}, "sas_device_handle": null, "links": {"masters": [], "labels": [], "uuids": [], "ids": []}, "support_discard": "4096", "removable": "0", "vendor": null, "holders": [], "virtual": 1, "sectorsize": "512", "rotational": "1", "sas_address": null, "sectors": "131072", "scheduler_mode": "", "model": null, "host": "", "size": "64.00 MB"}, "loop3": {"partitions": {}, "sas_device_handle": null, "links": {"masters": [], "labels": [], "uuids": [], "ids": []}, "support_discard": "0", "removable": "0", "vendor": null, "holders": [], "virtual": 1, "sectorsize": "512", "rotational": "1", "sas_address": null, "sectors": "0", "scheduler_mode": "", "model": null, "host": "", "size": "0.00 Bytes"}, "loop6": {"partitions": {}, "sas_device_handle": null, "links": {"masters": [], "labels": [], "uuids": [], "ids": []}, "support_discard": "0", "removable": "0", "vendor": null, "holders": [], "virtual": 1, "sectorsize": "512", "rotational": "1", "sas_address": null, "sectors": "0", "scheduler_mode": "", "model": null, "host": "", "size": "0.00 Bytes"}, "ram2": {"partitions": {}, "sas_device_handle": null, "links": {"masters": [], "labels": [], "uuids": [], "ids": []}, "support_discard": "4096", "removable": "0", "vendor": null, "holders": [], "virtual": 1, "sectorsize": "512", "rotational": "1", "sas_address": null, "sectors": "131072", "scheduler_mode": "", "model": null, "host": "", "size": "64.00 MB"}, "ram3": {"partitions": {}, "sas_device_handle": null, "links": {"masters": [], "labels": [], "uuids": [], "ids": []}, "support_discard": "4096", "removable": "0", "vendor": null, "holders": [], "virtual": 1, "sectorsize": "512", "rotational": "1", "sas_address": null, "sectors": "131072", "scheduler_mode": "", "model": null, "host": "", "size": "64.00 MB"}, "loop5": {"partitions": {}, "sas_device_handle": null, "links": {"masters": [], "labels": [], "uuids": [], "ids": []}, "support_discard": "0", "removable": "0", "vendor": null, "holders": [], "virtual": 1, "sectorsize": "512", "rotational": "1", "sas_address": null, "sectors": "0", "scheduler_mode": "", "model": null, "host": "", "size": "0.00 Bytes"}, "loop0": {"partitions": {}, "sas_device_handle": null, "links": {"masters": [], "labels": [], "uuids": [], "ids": []}, "support_discard": "4096", "removable": "0", "vendor": null, "holders": [], "virtual": 1, "sectorsize": "512", "rotational": "1", "sas_address": null, "sectors": "181608", "scheduler_mode": "", "model": null, "host": "", "size": "88.68 MB"}}, "ansible_distribution_file_parsed": true, "ansible_swapfree_mb": 0, "ansible_fibre_channel_wwn": [], "ansible_processor": ["0", "GenuineIntel", "Intel(R) Xeon(R) CPU E5-2676 v3 @ 2.40GHz"], "module_setup": true, "ansible_os_family": "Debian", "ansible_effective_user_id": 1000, "ansible_real_user_id": 1000, "ansible_real_group_id": 1000, "ansible_memory_mb": {"nocache": {"free": 880, "used": 110}, "real": {"total": 990, "free": 514, "used": 476}, "swap": {"total": 0, "free": 0, "used": 0, "cached": 0}}, "ansible_system_vendor": "Xen", "ansible_service_mgr": "systemd", "ansible_memtotal_mb": 990, "ansible_ssh_host_key_ed25519_public": "AAAAC3NzaC1lZDI1NTE5AAAAIM+Us/3Ab5WgbrjbkMtyOnfudYjj+JkV3PKxkKXtcqks", "ansible_distribution_release": "xenial"}}\n', b'OpenSSH_7.9p1, LibreSSL 2.7.3\r\ndebug1: Reading configuration data /Users/kevin/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 48: Applying options for *\r\ndebug1: /etc/ssh/ssh_config line 52: Applying options for *\r\ndebug2: resolve_canonicalize: hostname 127.0.0.1 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 = 94151\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 127.0.0.1 closed.\r\n')
amazon-ebs: <127.0.0.1> ESTABLISH SSH CONNECTION FOR USER: root
amazon-ebs: <127.0.0.1> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o Port=55778 -o 'IdentityFile="/var/folders/tj/tshgns294mbd2qlh8zg4wj4m0000gp/T/ansible-key194005463"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/Users/kevin/.ansible/cp/6800b38506 127.0.0.1 '/bin/sh -c '"'"'rm -f -r /tmp/ubuntu/ansible/ansible-tmp-1570544110.498606-210116258857407/ > /dev/null 2>&1 && sleep 0'"'"''
amazon-ebs: <127.0.0.1> (0, b'', b'OpenSSH_7.9p1, LibreSSL 2.7.3\r\ndebug1: Reading configuration data /Users/kevin/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 48: Applying options for *\r\ndebug1: /etc/ssh/ssh_config line 52: Applying options for *\r\ndebug2: resolve_canonicalize: hostname 127.0.0.1 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 = 94151\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')
amazon-ebs: ok: [default]
amazon-ebs: META: ran handlers
amazon-ebs:
amazon-ebs: TASK [slow] ********************************************************************
amazon-ebs: task path: /private/var/folders/tj/tshgns294mbd2qlh8zg4wj4m0000gp/T/tmpf3BU0mdeploy_packer/files/playbook_master.json:8
amazon-ebs: <127.0.0.1> ESTABLISH SSH CONNECTION FOR USER: root
amazon-ebs: <127.0.0.1> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o Port=55778 -o 'IdentityFile="/var/folders/tj/tshgns294mbd2qlh8zg4wj4m0000gp/T/ansible-key194005463"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/Users/kevin/.ansible/cp/6800b38506 127.0.0.1 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /tmp/${USER}/ansible/ansible-tmp-1570544114.92303-99261365947734 `" && echo ansible-tmp-1570544114.92303-99261365947734="` echo /tmp/${USER}/ansible/ansible-tmp-1570544114.92303-99261365947734 `" ) && sleep 0'"'"''
amazon-ebs: <127.0.0.1> (0, b'ansible-tmp-1570544114.92303-99261365947734=/tmp/ubuntu/ansible/ansible-tmp-1570544114.92303-99261365947734\n', b'OpenSSH_7.9p1, LibreSSL 2.7.3\r\ndebug1: Reading configuration data /Users/kevin/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 48: Applying options for *\r\ndebug1: /etc/ssh/ssh_config line 52: Applying options for *\r\ndebug2: resolve_canonicalize: hostname 127.0.0.1 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 = 94151\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')
amazon-ebs: Using module file /usr/local/Cellar/ansible/2.8.5/libexec/lib/python3.7/site-packages/ansible/modules/commands/command.py
amazon-ebs: <127.0.0.1> PUT /Users/kevin/.ansible/tmp/ansible-local-94143tgd6pr2c/tmplo40j1g5 TO /tmp/ubuntu/ansible/ansible-tmp-1570544114.92303-99261365947734/AnsiballZ_command.py
amazon-ebs: <127.0.0.1> SSH: EXEC scp -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o Port=55778 -o 'IdentityFile="/var/folders/tj/tshgns294mbd2qlh8zg4wj4m0000gp/T/ansible-key194005463"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/Users/kevin/.ansible/cp/6800b38506 /Users/kevin/.ansible/tmp/ansible-local-94143tgd6pr2c/tmplo40j1g5 '[127.0.0.1]:/tmp/ubuntu/ansible/ansible-tmp-1570544114.92303-99261365947734/AnsiballZ_command.py'
amazon-ebs: <127.0.0.1> (0, b'', b'Executing: program /usr/bin/ssh host 127.0.0.1, user (unspecified), command scp -v -t /tmp/ubuntu/ansible/ansible-tmp-1570544114.92303-99261365947734/AnsiballZ_command.py\nOpenSSH_7.9p1, LibreSSL 2.7.3\r\ndebug1: Reading configuration data /Users/kevin/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 48: Applying options for *\r\ndebug1: /etc/ssh/ssh_config line 52: Applying options for *\r\ndebug2: resolve_canonicalize: hostname 127.0.0.1 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 = 94151\r\ndebug3: mux_client_request_session: session request sent\r\nSending file modes: C0600 105347 tmplo40j1g5\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n')
amazon-ebs: <127.0.0.1> ESTABLISH SSH CONNECTION FOR USER: root
amazon-ebs: <127.0.0.1> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o Port=55778 -o 'IdentityFile="/var/folders/tj/tshgns294mbd2qlh8zg4wj4m0000gp/T/ansible-key194005463"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/Users/kevin/.ansible/cp/6800b38506 127.0.0.1 '/bin/sh -c '"'"'chmod u+x /tmp/ubuntu/ansible/ansible-tmp-1570544114.92303-99261365947734/ /tmp/ubuntu/ansible/ansible-tmp-1570544114.92303-99261365947734/AnsiballZ_command.py && sleep 0'"'"''
amazon-ebs: <127.0.0.1> (0, b'', b'OpenSSH_7.9p1, LibreSSL 2.7.3\r\ndebug1: Reading configuration data /Users/kevin/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 48: Applying options for *\r\ndebug1: /etc/ssh/ssh_config line 52: Applying options for *\r\ndebug2: resolve_canonicalize: hostname 127.0.0.1 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 = 94151\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')
amazon-ebs: <127.0.0.1> ESTABLISH SSH CONNECTION FOR USER: root
amazon-ebs: <127.0.0.1> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o Port=55778 -o 'IdentityFile="/var/folders/tj/tshgns294mbd2qlh8zg4wj4m0000gp/T/ansible-key194005463"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/Users/kevin/.ansible/cp/6800b38506 -tt 127.0.0.1 '/bin/sh -c '"'"'/usr/bin/python3 /tmp/ubuntu/ansible/ansible-tmp-1570544114.92303-99261365947734/AnsiballZ_command.py && sleep 0'"'"''
amazon-ebs: <127.0.0.1> (0, b'\n{"end": "2019-10-08 14:16:46.168837", "invocation": {"module_args": {"argv": null, "warn": true, "stdin_add_newline": true, "executable": null, "removes": null, "_raw_params": "/bin/sleep 90", "creates": null, "chdir": null, "stdin": null, "_uses_shell": false, "strip_empty_ends": true}}, "delta": "0:01:30.003586", "changed": true, "stderr": "", "start": "2019-10-08 14:15:16.165251", "rc": 0, "stdout": "", "cmd": ["/bin/sleep", "90"]}\n', b'OpenSSH_7.9p1, LibreSSL 2.7.3\r\ndebug1: Reading configuration data /Users/kevin/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 48: Applying options for *\r\ndebug1: /etc/ssh/ssh_config line 52: Applying options for *\r\ndebug2: resolve_canonicalize: hostname 127.0.0.1 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 = 94151\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 127.0.0.1 closed.\r\n')
amazon-ebs: <127.0.0.1> ESTABLISH SSH CONNECTION FOR USER: root
amazon-ebs: <127.0.0.1> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o Port=55778 -o 'IdentityFile="/var/folders/tj/tshgns294mbd2qlh8zg4wj4m0000gp/T/ansible-key194005463"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/Users/kevin/.ansible/cp/6800b38506 127.0.0.1 '/bin/sh -c '"'"'rm -f -r /tmp/ubuntu/ansible/ansible-tmp-1570544114.92303-99261365947734/ > /dev/null 2>&1 && sleep 0'"'"''
amazon-ebs: <127.0.0.1> (0, b'', b'OpenSSH_7.9p1, LibreSSL 2.7.3\r\ndebug1: Reading configuration data /Users/kevin/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 48: Applying options for *\r\ndebug1: /etc/ssh/ssh_config line 52: Applying options for *\r\ndebug2: resolve_canonicalize: hostname 127.0.0.1 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 = 94151\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')
amazon-ebs: changed: [default] => {
amazon-ebs: "changed": true,
amazon-ebs: "cmd": [
amazon-ebs: "/bin/sleep",
amazon-ebs: "90"
amazon-ebs: ],
amazon-ebs: "delta": "0:01:30.003586",
amazon-ebs: "end": "2019-10-08 14:16:46.168837",
amazon-ebs: "invocation": {
amazon-ebs: "module_args": {
amazon-ebs: "_raw_params": "/bin/sleep 90",
amazon-ebs: "_uses_shell": false,
amazon-ebs: "argv": null,
amazon-ebs: "chdir": null,
amazon-ebs: "creates": null,
amazon-ebs: "executable": null,
amazon-ebs: "removes": null,
amazon-ebs: "stdin": null,
amazon-ebs: "stdin_add_newline": true,
amazon-ebs: "strip_empty_ends": true,
amazon-ebs: "warn": true
amazon-ebs: }
amazon-ebs: },
amazon-ebs: "rc": 0,
amazon-ebs: "start": "2019-10-08 14:15:16.165251",
amazon-ebs: "stderr": "",
amazon-ebs: "stderr_lines": [],
amazon-ebs: "stdout": "",
amazon-ebs: "stdout_lines": []
amazon-ebs: }
amazon-ebs:
amazon-ebs: TASK [check processes] *********************************************************
amazon-ebs: task path: /private/var/folders/tj/tshgns294mbd2qlh8zg4wj4m0000gp/T/tmpf3BU0mdeploy_packer/files/playbook_master.json:13
amazon-ebs: <127.0.0.1> ESTABLISH SSH CONNECTION FOR USER: root
amazon-ebs: <127.0.0.1> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o Port=55778 -o 'IdentityFile="/var/folders/tj/tshgns294mbd2qlh8zg4wj4m0000gp/T/ansible-key194005463"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/Users/kevin/.ansible/cp/6800b38506 127.0.0.1 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /tmp/${USER}/ansible/ansible-tmp-1570544206.510417-83869940499016 `" && echo ansible-tmp-1570544206.510417-83869940499016="` echo /tmp/${USER}/ansible/ansible-tmp-1570544206.510417-83869940499016 `" ) && sleep 0'"'"''
amazon-ebs: <127.0.0.1> (0, b'ansible-tmp-1570544206.510417-83869940499016=/tmp/ubuntu/ansible/ansible-tmp-1570544206.510417-83869940499016\n', b'OpenSSH_7.9p1, LibreSSL 2.7.3\r\ndebug1: Reading configuration data /Users/kevin/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 48: Applying options for *\r\ndebug1: /etc/ssh/ssh_config line 52: Applying options for *\r\ndebug2: resolve_canonicalize: hostname 127.0.0.1 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 = 94151\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')
amazon-ebs: Using module file /usr/local/Cellar/ansible/2.8.5/libexec/lib/python3.7/site-packages/ansible/modules/commands/command.py
amazon-ebs: <127.0.0.1> PUT /Users/kevin/.ansible/tmp/ansible-local-94143tgd6pr2c/tmpo0qgyamz TO /tmp/ubuntu/ansible/ansible-tmp-1570544206.510417-83869940499016/AnsiballZ_command.py
amazon-ebs: <127.0.0.1> SSH: EXEC scp -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o Port=55778 -o 'IdentityFile="/var/folders/tj/tshgns294mbd2qlh8zg4wj4m0000gp/T/ansible-key194005463"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/Users/kevin/.ansible/cp/6800b38506 /Users/kevin/.ansible/tmp/ansible-local-94143tgd6pr2c/tmpo0qgyamz '[127.0.0.1]:/tmp/ubuntu/ansible/ansible-tmp-1570544206.510417-83869940499016/AnsiballZ_command.py'
amazon-ebs: <127.0.0.1> (0, b'', b'Executing: program /usr/bin/ssh host 127.0.0.1, user (unspecified), command scp -v -t /tmp/ubuntu/ansible/ansible-tmp-1570544206.510417-83869940499016/AnsiballZ_command.py\nOpenSSH_7.9p1, LibreSSL 2.7.3\r\ndebug1: Reading configuration data /Users/kevin/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 48: Applying options for *\r\ndebug1: /etc/ssh/ssh_config line 52: Applying options for *\r\ndebug2: resolve_canonicalize: hostname 127.0.0.1 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 = 94151\r\ndebug3: mux_client_request_session: session request sent\r\nSending file modes: C0600 105362 tmpo0qgyamz\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n')
amazon-ebs: <127.0.0.1> ESTABLISH SSH CONNECTION FOR USER: root
amazon-ebs: <127.0.0.1> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o Port=55778 -o 'IdentityFile="/var/folders/tj/tshgns294mbd2qlh8zg4wj4m0000gp/T/ansible-key194005463"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/Users/kevin/.ansible/cp/6800b38506 127.0.0.1 '/bin/sh -c '"'"'chmod u+x /tmp/ubuntu/ansible/ansible-tmp-1570544206.510417-83869940499016/ /tmp/ubuntu/ansible/ansible-tmp-1570544206.510417-83869940499016/AnsiballZ_command.py && sleep 0'"'"''
amazon-ebs: <127.0.0.1> (0, b'', b'OpenSSH_7.9p1, LibreSSL 2.7.3\r\ndebug1: Reading configuration data /Users/kevin/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 48: Applying options for *\r\ndebug1: /etc/ssh/ssh_config line 52: Applying options for *\r\ndebug2: resolve_canonicalize: hostname 127.0.0.1 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 = 94151\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')
amazon-ebs: <127.0.0.1> ESTABLISH SSH CONNECTION FOR USER: root
amazon-ebs: <127.0.0.1> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o Port=55778 -o 'IdentityFile="/var/folders/tj/tshgns294mbd2qlh8zg4wj4m0000gp/T/ansible-key194005463"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/Users/kevin/.ansible/cp/6800b38506 -tt 127.0.0.1 '/bin/sh -c '"'"'/usr/bin/python3 /tmp/ubuntu/ansible/ansible-tmp-1570544206.510417-83869940499016/AnsiballZ_command.py && sleep 0'"'"''
amazon-ebs: <127.0.0.1> (0, b'\n{"cmd": "ps aux", "stdout": "USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND\\nroot 1 1.4 0.5 37796 5808 ? Ss 14:13 0:02 /sbin/init\\nroot 2 0.0 0.0 0 0 ? S 14:13 0:00 [kthreadd]\\nroot 3 0.0 0.0 0 0 ? S 14:13 0:00 [ksoftirqd/0]\\nroot 4 0.0 0.0 0 0 ? S 14:13 0:00 [kworker/0:0]\\nroot 5 0.0 0.0 0 0 ? S< 14:13 0:00 [kworker/0:0H]\\nroot 6 0.0 0.0 0 0 ? S 14:13 0:00 [kworker/u30:0]\\nroot 7 0.1 0.0 0 0 ? S 14:13 0:00 [rcu_sched]\\nroot 8 0.0 0.0 0 0 ? S 14:13 0:00 [rcu_bh]\\nroot 9 0.0 0.0 0 0 ? S 14:13 0:00 [migration/0]\\nroot 10 0.0 0.0 0 0 ? S 14:13 0:00 [watchdog/0]\\nroot 11 0.0 0.0 0 0 ? S 14:13 0:00 [kdevtmpfs]\\nroot 12 0.0 0.0 0 0 ? S< 14:13 0:00 [netns]\\nroot 13 0.0 0.0 0 0 ? S< 14:13 0:00 [perf]\\nroot 14 0.0 0.0 0 0 ? S 14:13 0:00 [xenwatch]\\nroot 15 0.0 0.0 0 0 ? S 14:13 0:00 [xenbus]\\nroot 16 0.0 0.0 0 0 ? S 14:13 0:00 [kworker/0:1]\\nroot 17 0.0 0.0 0 0 ? S 14:13 0:00 [khungtaskd]\\nroot 18 0.0 0.0 0 0 ? S< 14:13 0:00 [writeback]\\nroot 19 0.0 0.0 0 0 ? SN 14:13 0:00 [ksmd]\\nroot 20 0.0 0.0 0 0 ? SN 14:13 0:00 [khugepaged]\\nroot 21 0.0 0.0 0 0 ? S< 14:13 0:00 [crypto]\\nroot 22 0.0 0.0 0 0 ? S< 14:13 0:00 [kintegrityd]\\nroot 23 0.0 0.0 0 0 ? S< 14:13 0:00 [bioset]\\nroot 24 0.0 0.0 0 0 ? S< 14:13 0:00 [kblockd]\\nroot 25 0.0 0.0 0 0 ? S< 14:13 0:00 [ata_sff]\\nroot 26 0.0 0.0 0 0 ? S< 14:13 0:00 [md]\\nroot 27 0.0 0.0 0 0 ? S< 14:13 0:00 [devfreq_wq]\\nroot 28 0.0 0.0 0 0 ? S 14:13 0:00 [kworker/u30:1]\\nroot 30 0.0 0.0 0 0 ? S 14:13 0:00 [kswapd0]\\nroot 31 0.0 0.0 0 0 ? S< 14:13 0:00 [vmstat]\\nroot 32 0.0 0.0 0 0 ? S 14:13 0:00 [fsnotify_mark]\\nroot 33 0.0 0.0 0 0 ? S 14:13 0:00 [ecryptfs-kthrea]\\nroot 49 0.0 0.0 0 0 ? S< 14:13 0:00 [kthrotld]\\nroot 50 0.0 0.0 0 0 ? S< 14:13 0:00 [bioset]\\nroot 51 0.0 0.0 0 0 ? S< 14:13 0:00 [bioset]\\nroot 52 0.0 0.0 0 0 ? S< 14:13 0:00 [bioset]\\nroot 53 0.0 0.0 0 0 ? S< 14:13 0:00 [bioset]\\nroot 54 0.0 0.0 0 0 ? S< 14:13 0:00 [bioset]\\nroot 55 0.0 0.0 0 0 ? S< 14:13 0:00 [bioset]\\nroot 56 0.0 0.0 0 0 ? S< 14:13 0:00 [bioset]\\nroot 57 0.0 0.0 0 0 ? S< 14:13 0:00 [bioset]\\nroot 58 0.0 0.0 0 0 ? S< 14:13 0:00 [bioset]\\nroot 59 0.0 0.0 0 0 ? S< 14:13 0:00 [bioset]\\nroot 60 0.0 0.0 0 0 ? S< 14:13 0:00 [bioset]\\nroot 61 0.0 0.0 0 0 ? S< 14:13 0:00 [bioset]\\nroot 62 0.0 0.0 0 0 ? S< 14:13 0:00 [bioset]\\nroot 63 0.0 0.0 0 0 ? S< 14:13 0:00 [bioset]\\nroot 64 0.0 0.0 0 0 ? S< 14:13 0:00 [bioset]\\nroot 65 0.0 0.0 0 0 ? S< 14:13 0:00 [bioset]\\nroot 66 0.0 0.0 0 0 ? S< 14:13 0:00 [bioset]\\nroot 67 0.0 0.0 0 0 ? S< 14:13 0:00 [bioset]\\nroot 68 0.0 0.0 0 0 ? S< 14:13 0:00 [bioset]\\nroot 69 0.0 0.0 0 0 ? S< 14:13 0:00 [bioset]\\nroot 70 0.0 0.0 0 0 ? S< 14:13 0:00 [bioset]\\nroot 71 0.0 0.0 0 0 ? S< 14:13 0:00 [bioset]\\nroot 72 0.0 0.0 0 0 ? S< 14:13 0:00 [bioset]\\nroot 73 0.0 0.0 0 0 ? S< 14:13 0:00 [bioset]\\nroot 74 0.0 0.0 0 0 ? S< 14:13 0:00 [nvme]\\nroot 75 0.0 0.0 0 0 ? S 14:13 0:00 [scsi_eh_0]\\nroot 76 0.0 0.0 0 0 ? S< 14:13 0:00 [scsi_tmf_0]\\nroot 77 0.0 0.0 0 0 ? S 14:13 0:00 [scsi_eh_1]\\nroot 78 0.0 0.0 0 0 ? S< 14:13 0:00 [scsi_tmf_1]\\nroot 79 0.0 0.0 0 0 ? S 14:13 0:00 [kworker/u30:2]\\nroot 83 0.0 0.0 0 0 ? S< 14:13 0:00 [ipv6_addrconf]\\nroot 88 0.0 0.0 0 0 ? S< 14:13 0:00 [bioset]\\nroot 97 0.0 0.0 0 0 ? S< 14:13 0:00 [deferwq]\\nroot 249 0.0 0.0 0 0 ? S< 14:13 0:00 [raid5wq]\\nroot 280 0.0 0.0 0 0 ? S< 14:13 0:00 [bioset]\\nroot 301 0.0 0.0 0 0 ? S 14:13 0:00 [jbd2/xvda1-8]\\nroot 302 0.0 0.0 0 0 ? S< 14:13 0:00 [ext4-rsv-conver]\\nroot 363 0.0 0.0 0 0 ? S 14:13 0:00 [kworker/0:2]\\nroot 373 0.0 0.0 0 0 ? S 14:13 0:00 [kworker/0:3]\\nroot 385 0.3 0.2 28348 2692 ? Ss 14:13 0:00 /lib/systemd/systemd-journald\\nroot 393 0.0 0.0 0 0 ? S< 14:13 0:00 [iscsi_eh]\\nroot 398 0.0 0.0 0 0 ? S< 14:13 0:00 [ib_addr]\\nroot 399 0.0 0.0 0 0 ? S< 14:13 0:00 [ib_mcast]\\nroot 400 0.0 0.0 0 0 ? S< 14:13 0:00 [ib_nl_sa_wq]\\nroot 401 0.0 0.0 0 0 ? S< 14:13 0:00 [ib_cm]\\nroot 402 0.0 0.0 0 0 ? S< 14:13 0:00 [iw_cm_wq]\\nroot 403 0.0 0.0 0 0 ? S< 14:13 0:00 [rdma_cm]\\nroot 404 0.0 0.0 0 0 ? S 14:13 0:00 [kauditd]\\nroot 431 0.0 0.1 94772 1636 ? Ss 14:13 0:00 /sbin/lvmetad -f\\nroot 505 0.0 0.4 42808 4220 ? Ss 14:13 0:00 /lib/systemd/systemd-udevd\\nroot 650 0.0 0.0 0 0 ? S< 14:13 0:00 [kworker/0:1H]\\nsystemd+ 725 0.0 0.2 100324 2464 ? Ssl 14:13 0:00 /lib/systemd/systemd-timesyncd\\nroot 906 0.0 0.0 16000 848 ? Ss 14:13 0:00 /sbin/dhclient -1 -v -pf /run/dhclient.eth0.pid -lf /var/lib/dhcp/dhclient.eth0.leases -I -df /var/lib/dhcp/dhclient6.eth0.leases eth0\\nroot 1056 0.0 0.0 5220 148 ? Ss 14:13 0:00 /sbin/iscsid\\nroot 1057 0.0 0.3 5720 3504 ? S<Ls 14:13 0:00 /sbin/iscsid\\nmessage+ 1064 0.0 0.3 42900 3836 ? Ss 14:13 0:00 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation\\nroot 1070 0.0 0.1 95368 1520 ? Ssl 14:13 0:00 /usr/bin/lxcfs /var/lib/lxcfs/\\nsyslog 1074 0.0 0.3 260628 3388 ? Ssl 14:13 0:00 /usr/sbin/rsyslogd -n\\nroot 1094 0.0 0.2 28544 2988 ? Ss 14:13 0:00 /lib/systemd/systemd-logind\\nroot 1108 0.0 0.0 0 0 ? S 14:13 0:00 [kworker/0:4]\\ndaemon 1111 0.0 0.2 26044 2144 ? Ss 14:13 0:00 /usr/sbin/atd -f\\nroot 1114 0.0 0.2 26068 2596 ? Ss 14:13 0:00 /usr/sbin/cron -f\\nroot 1121 0.0 0.0 4396 680 ? Ss 14:13 0:00 /usr/sbin/acpid\\nroot 1127 0.0 0.5 272944 5868 ? Ssl 14:13 0:00 /usr/lib/accountsservice/accounts-daemon\\nroot 1171 0.0 0.0 13372 160 ? Ss 14:13 0:00 /sbin/mdadm --monitor --pid-file /run/mdadm/monitor.pid --daemonise --scan --syslog\\nroot 1175 0.0 1.9 171712 19336 ? Ssl 14:13 0:00 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal\\nroot 1178 0.0 0.6 277180 6136 ? Ssl 14:13 0:00 /usr/lib/policykit-1/polkitd --no-debug\\nroot 1255 0.0 0.1 14656 1800 tty1 Ss+ 14:13 0:00 /sbin/agetty --noclear tty1 linux\\nroot 1262 0.0 0.1 12840 1788 ttyS0 Ss+ 14:13 0:00 /sbin/agetty --keep-baud 115200 38400 9600 ttyS0 vt220\\nroot 1293 0.0 0.5 65512 5576 ? Ss 14:13 0:00 /usr/sbin/sshd -D\\nroot 1352 0.0 0.6 92800 6892 ? Ss 14:13 0:00 sshd: ubuntu [priv]\\nubuntu 1354 0.0 0.4 45156 4580 ? Ss 14:13 0:00 /lib/systemd/systemd --user\\nubuntu 1356 0.0 0.1 61312 2008 ? S 14:13 0:00 (sd-pam)\\nubuntu 1472 0.0 0.4 92912 4276 ? S 14:13 0:00 sshd: ubuntu@notty\\nroot 1476 0.0 0.0 0 0 ? S< 14:13 0:00 [loop0]\\nroot 1602 0.3 2.2 452244 22828 ? Ssl 14:13 0:00 /usr/lib/snapd/snapd\\nroot 1733 0.0 0.0 0 0 ? S< 14:13 0:00 [loop1]\\nroot 1800 0.3 1.3 206696 13772 ? Ssl 14:13 0:00 /snap/amazon-ssm-agent/1455/amazon-ssm-agent\\nubuntu 1977 0.0 0.0 4504 792 ? Ss 14:16 0:00 /bin/sh -c /usr/bin/python3 /tmp/ubuntu/ansible/ansible-tmp-1570544206.510417-83869940499016/AnsiballZ_command.py && sleep 0\\nubuntu 1978 14.0 1.7 71428 17812 ? S 14:16 0:00 /usr/bin/python3 /tmp/ubuntu/ansible/ansible-tmp-1570544206.510417-83869940499016/AnsiballZ_command.py\\nubuntu 1980 0.0 0.0 4504 748 ? S 14:16 0:00 /bin/sh -c ps aux\\nubuntu 1981 0.0 0.2 34424 2872 ? R 14:16 0:00 ps aux", "start": "2019-10-08 14:16:47.726545", "end": "2019-10-08 14:16:47.739461", "rc": 0, "delta": "0:00:00.012916", "stderr": "", "changed": true, "invocation": {"module_args": {"executable": null, "removes": null, "_raw_params": "ps aux", "warn": true, "argv": null, "creates": null, "_uses_shell": true, "chdir": null, "stdin": null, "strip_empty_ends": true, "stdin_add_newline": true}}}\n', b'OpenSSH_7.9p1, LibreSSL 2.7.3\r\ndebug1: Reading configuration data /Users/kevin/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 48: Applying options for *\r\ndebug1: /etc/ssh/ssh_config line 52: Applying options for *\r\ndebug2: resolve_canonicalize: hostname 127.0.0.1 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 = 94151\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 127.0.0.1 closed.\r\n')
amazon-ebs: <127.0.0.1> ESTABLISH SSH CONNECTION FOR USER: root
amazon-ebs: <127.0.0.1> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o Port=55778 -o 'IdentityFile="/var/folders/tj/tshgns294mbd2qlh8zg4wj4m0000gp/T/ansible-key194005463"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/Users/kevin/.ansible/cp/6800b38506 127.0.0.1 '/bin/sh -c '"'"'rm -f -r /tmp/ubuntu/ansible/ansible-tmp-1570544206.510417-83869940499016/ > /dev/null 2>&1 && sleep 0'"'"''
amazon-ebs: <127.0.0.1> (0, b'', b'OpenSSH_7.9p1, LibreSSL 2.7.3\r\ndebug1: Reading configuration data /Users/kevin/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 48: Applying options for *\r\ndebug1: /etc/ssh/ssh_config line 52: Applying options for *\r\ndebug2: resolve_canonicalize: hostname 127.0.0.1 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 = 94151\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')
amazon-ebs: changed: [default] => {
amazon-ebs: "changed": true,
amazon-ebs: "cmd": "ps aux",
amazon-ebs: "delta": "0:00:00.012916",
amazon-ebs: "end": "2019-10-08 14:16:47.739461",
amazon-ebs: "invocation": {
amazon-ebs: "module_args": {
amazon-ebs: "_raw_params": "ps aux",
amazon-ebs: "_uses_shell": true,
amazon-ebs: "argv": null,
amazon-ebs: "chdir": null,
amazon-ebs: "creates": null,
amazon-ebs: "executable": null,
amazon-ebs: "removes": null,
amazon-ebs: "stdin": null,
amazon-ebs: "stdin_add_newline": true,
amazon-ebs: "strip_empty_ends": true,
amazon-ebs: "warn": true
amazon-ebs: }
amazon-ebs: },
amazon-ebs: "rc": 0,
amazon-ebs: "start": "2019-10-08 14:16:47.726545",
amazon-ebs: "stderr": "",
amazon-ebs: "stderr_lines": [],
amazon-ebs: "stdout": "USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND\nroot 1 1.4 0.5 37796 5808 ? Ss 14:13 0:02 /sbin/init\nroot 2 0.0 0.0 0 0 ? S 14:13 0:00 [kthreadd]\nroot 3 0.0 0.0 0 0 ? S 14:13 0:00 [ksoftirqd/0]\nroot 4 0.0 0.0 0 0 ? S 14:13 0:00 [kworker/0:0]\nroot 5 0.0 0.0 0 0 ? S< 14:13 0:00 [kworker/0:0H]\nroot 6 0.0 0.0 0 0 ? S 14:13 0:00 [kworker/u30:0]\nroot 7 0.1 0.0 0 0 ? S 14:13 0:00 [rcu_sched]\nroot 8 0.0 0.0 0 0 ? S 14:13 0:00 [rcu_bh]\nroot 9 0.0 0.0 0 0 ? S 14:13 0:00 [migration/0]\nroot 10 0.0 0.0 0 0 ? S 14:13 0:00 [watchdog/0]\nroot 11 0.0 0.0 0 0 ? S 14:13 0:00 [kdevtmpfs]\nroot 12 0.0 0.0 0 0 ? S< 14:13 0:00 [netns]\nroot 13 0.0 0.0 0 0 ? S< 14:13 0:00 [perf]\nroot 14 0.0 0.0 0 0 ? S 14:13 0:00 [xenwatch]\nroot 15 0.0 0.0 0 0 ? S 14:13 0:00 [xenbus]\nroot 16 0.0 0.0 0 0 ? S 14:13 0:00 [kworker/0:1]\nroot 17 0.0 0.0 0 0 ? S 14:13 0:00 [khungtaskd]\nroot 18 0.0 0.0 0 0 ? S< 14:13 0:00 [writeback]\nroot 19 0.0 0.0 0 0 ? SN 14:13 0:00 [ksmd]\nroot 20 0.0 0.0 0 0 ? SN 14:13 0:00 [khugepaged]\nroot 21 0.0 0.0 0 0 ? S< 14:13 0:00 [crypto]\nroot 22 0.0 0.0 0 0 ? S< 14:13 0:00 [kintegrityd]\nroot 23 0.0 0.0 0 0 ? S< 14:13 0:00 [bioset]\nroot 24 0.0 0.0 0 0 ? S< 14:13 0:00 [kblockd]\nroot 25 0.0 0.0 0 0 ? S< 14:13 0:00 [ata_sff]\nroot 26 0.0 0.0 0 0 ? S< 14:13 0:00 [md]\nroot 27 0.0 0.0 0 0 ? S< 14:13 0:00 [devfreq_wq]\nroot 28 0.0 0.0 0 0 ? S 14:13 0:00 [kworker/u30:1]\nroot 30 0.0 0.0 0 0 ? S 14:13 0:00 [kswapd0]\nroot 31 0.0 0.0 0 0 ? S< 14:13 0:00 [vmstat]\nroot 32 0.0 0.0 0 0 ? S 14:13 0:00 [fsnotify_mark]\nroot 33 0.0 0.0 0 0 ? S 14:13 0:00 [ecryptfs-kthrea]\nroot 49 0.0 0.0 0 0 ? S< 14:13 0:00 [kthrotld]\nroot 50 0.0 0.0 0 0 ? S< 14:13 0:00 [bioset]\nroot 51 0.0 0.0 0 0 ? S< 14:13 0:00 [bioset]\nroot 52 0.0 0.0 0 0 ? S< 14:13 0:00 [bioset]\nroot 53 0.0 0.0 0 0 ? S< 14:13 0:00 [bioset]\nroot 54 0.0 0.0 0 0 ? S< 14:13 0:00 [bioset]\nroot 55 0.0 0.0 0 0 ? S< 14:13 0:00 [bioset]\nroot 56 0.0 0.0 0 0 ? S< 14:13 0:00 [bioset]\nroot 57 0.0 0.0 0 0 ? S< 14:13 0:00 [bioset]\nroot 58 0.0 0.0 0 0 ? S< 14:13 0:00 [bioset]\nroot 59 0.0 0.0 0 0 ? S< 14:13 0:00 [bioset]\nroot 60 0.0 0.0 0 0 ? S< 14:13 0:00 [bioset]\nroot 61 0.0 0.0 0 0 ? S< 14:13 0:00 [bioset]\nroot 62 0.0 0.0 0 0 ? S< 14:13 0:00 [bioset]\nroot 63 0.0 0.0 0 0 ? S< 14:13 0:00 [bioset]\nroot 64 0.0 0.0 0 0 ? S< 14:13 0:00 [bioset]\nroot 65 0.0 0.0 0 0 ? S< 14:13 0:00 [bioset]\nroot 66 0.0 0.0 0 0 ? S< 14:13 0:00 [bioset]\nroot 67 0.0 0.0 0 0 ? S< 14:13 0:00 [bioset]\nroot 68 0.0 0.0 0 0 ? S< 14:13 0:00 [bioset]\nroot 69 0.0 0.0 0 0 ? S< 14:13 0:00 [bioset]\nroot 70 0.0 0.0 0 0 ? S< 14:13 0:00 [bioset]\nroot 71 0.0 0.0 0 0 ? S< 14:13 0:00 [bioset]\nroot 72 0.0 0.0 0 0 ? S< 14:13 0:00 [bioset]\nroot 73 0.0 0.0 0 0 ? S< 14:13 0:00 [bioset]\nroot 74 0.0 0.0 0 0 ? S< 14:13 0:00 [nvme]\nroot 75 0.0 0.0 0 0 ? S 14:13 0:00 [scsi_eh_0]\nroot 76 0.0 0.0 0 0 ? S< 14:13 0:00 [scsi_tmf_0]\nroot 77 0.0 0.0 0 0 ? S 14:13 0:00 [scsi_eh_1]\nroot 78 0.0 0.0 0 0 ? S< 14:13 0:00 [scsi_tmf_1]\nroot 79 0.0 0.0 0 0 ? S 14:13 0:00 [kworker/u30:2]\nroot 83 0.0 0.0 0 0 ? S< 14:13 0:00 [ipv6_addrconf]\nroot 88 0.0 0.0 0 0 ? S< 14:13 0:00 [bioset]\nroot 97 0.0 0.0 0 0 ? S< 14:13 0:00 [deferwq]\nroot 249 0.0 0.0 0 0 ? S< 14:13 0:00 [raid5wq]\nroot 280 0.0 0.0 0 0 ? S< 14:13 0:00 [bioset]\nroot 301 0.0 0.0 0 0 ? S 14:13 0:00 [jbd2/xvda1-8]\nroot 302 0.0 0.0 0 0 ? S< 14:13 0:00 [ext4-rsv-conver]\nroot 363 0.0 0.0 0 0 ? S 14:13 0:00 [kworker/0:2]\nroot 373 0.0 0.0 0 0 ? S 14:13 0:00 [kworker/0:3]\nroot 385 0.3 0.2 28348 2692 ? Ss 14:13 0:00 /lib/systemd/systemd-journald\nroot 393 0.0 0.0 0 0 ? S< 14:13 0:00 [iscsi_eh]\nroot 398 0.0 0.0 0 0 ? S< 14:13 0:00 [ib_addr]\nroot 399 0.0 0.0 0 0 ? S< 14:13 0:00 [ib_mcast]\nroot 400 0.0 0.0 0 0 ? S< 14:13 0:00 [ib_nl_sa_wq]\nroot 401 0.0 0.0 0 0 ? S< 14:13 0:00 [ib_cm]\nroot 402 0.0 0.0 0 0 ? S< 14:13 0:00 [iw_cm_wq]\nroot 403 0.0 0.0 0 0 ? S< 14:13 0:00 [rdma_cm]\nroot 404 0.0 0.0 0 0 ? S 14:13 0:00 [kauditd]\nroot 431 0.0 0.1 94772 1636 ? Ss 14:13 0:00 /sbin/lvmetad -f\nroot 505 0.0 0.4 42808 4220 ? Ss 14:13 0:00 /lib/systemd/systemd-udevd\nroot 650 0.0 0.0 0 0 ? S< 14:13 0:00 [kworker/0:1H]\nsystemd+ 725 0.0 0.2 100324 2464 ? Ssl 14:13 0:00 /lib/systemd/systemd-timesyncd\nroot 906 0.0 0.0 16000 848 ? Ss 14:13 0:00 /sbin/dhclient -1 -v -pf /run/dhclient.eth0.pid -lf /var/lib/dhcp/dhclient.eth0.leases -I -df /var/lib/dhcp/dhclient6.eth0.leases eth0\nroot 1056 0.0 0.0 5220 148 ? Ss 14:13 0:00 /sbin/iscsid\nroot 1057 0.0 0.3 5720 3504 ? S<Ls 14:13 0:00 /sbin/iscsid\nmessage+ 1064 0.0 0.3 42900 3836 ? Ss 14:13 0:00 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation\nroot 1070 0.0 0.1 95368 1520 ? Ssl 14:13 0:00 /usr/bin/lxcfs /var/lib/lxcfs/\nsyslog 1074 0.0 0.3 260628 3388 ? Ssl 14:13 0:00 /usr/sbin/rsyslogd -n\nroot 1094 0.0 0.2 28544 2988 ? Ss 14:13 0:00 /lib/systemd/systemd-logind\nroot 1108 0.0 0.0 0 0 ? S 14:13 0:00 [kworker/0:4]\ndaemon 1111 0.0 0.2 26044 2144 ? Ss 14:13 0:00 /usr/sbin/atd -f\nroot 1114 0.0 0.2 26068 2596 ? Ss 14:13 0:00 /usr/sbin/cron -f\nroot 1121 0.0 0.0 4396 680 ? Ss 14:13 0:00 /usr/sbin/acpid\nroot 1127 0.0 0.5 272944 5868 ? Ssl 14:13 0:00 /usr/lib/accountsservice/accounts-daemon\nroot 1171 0.0 0.0 13372 160 ? Ss 14:13 0:00 /sbin/mdadm --monitor --pid-file /run/mdadm/monitor.pid --daemonise --scan --syslog\nroot 1175 0.0 1.9 171712 19336 ? Ssl 14:13 0:00 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal\nroot 1178 0.0 0.6 277180 6136 ? Ssl 14:13 0:00 /usr/lib/policykit-1/polkitd --no-debug\nroot 1255 0.0 0.1 14656 1800 tty1 Ss+ 14:13 0:00 /sbin/agetty --noclear tty1 linux\nroot 1262 0.0 0.1 12840 1788 ttyS0 Ss+ 14:13 0:00 /sbin/agetty --keep-baud 115200 38400 9600 ttyS0 vt220\nroot 1293 0.0 0.5 65512 5576 ? Ss 14:13 0:00 /usr/sbin/sshd -D\nroot 1352 0.0 0.6 92800 6892 ? Ss 14:13 0:00 sshd: ubuntu [priv]\nubuntu 1354 0.0 0.4 45156 4580 ? Ss 14:13 0:00 /lib/systemd/systemd --user\nubuntu 1356 0.0 0.1 61312 2008 ? S 14:13 0:00 (sd-pam)\nubuntu 1472 0.0 0.4 92912 4276 ? S 14:13 0:00 sshd: ubuntu@notty\nroot 1476 0.0 0.0 0 0 ? S< 14:13 0:00 [loop0]\nroot 1602 0.3 2.2 452244 22828 ? Ssl 14:13 0:00 /usr/lib/snapd/snapd\nroot 1733 0.0 0.0 0 0 ? S< 14:13 0:00 [loop1]\nroot 1800 0.3 1.3 206696 13772 ? Ssl 14:13 0:00 /snap/amazon-ssm-agent/1455/amazon-ssm-agent\nubuntu 1977 0.0 0.0 4504 792 ? Ss 14:16 0:00 /bin/sh -c /usr/bin/python3 /tmp/ubuntu/ansible/ansible-tmp-1570544206.510417-83869940499016/AnsiballZ_command.py && sleep 0\nubuntu 1978 14.0 1.7 71428 17812 ? S 14:16 0:00 /usr/bin/python3 /tmp/ubuntu/ansible/ansible-tmp-1570544206.510417-83869940499016/AnsiballZ_command.py\nubuntu 1980 0.0 0.0 4504 748 ? S 14:16 0:00 /bin/sh -c ps aux\nubuntu 1981 0.0 0.2 34424 2872 ? R 14:16 0:00 ps aux",
amazon-ebs: "stdout_lines": [
amazon-ebs: "USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND",
amazon-ebs: "root 1 1.4 0.5 37796 5808 ? Ss 14:13 0:02 /sbin/init",
amazon-ebs: "root 2 0.0 0.0 0 0 ? S 14:13 0:00 [kthreadd]",
amazon-ebs: "root 3 0.0 0.0 0 0 ? S 14:13 0:00 [ksoftirqd/0]",
amazon-ebs: "root 4 0.0 0.0 0 0 ? S 14:13 0:00 [kworker/0:0]",
amazon-ebs: "root 5 0.0 0.0 0 0 ? S< 14:13 0:00 [kworker/0:0H]",
amazon-ebs: "root 6 0.0 0.0 0 0 ? S 14:13 0:00 [kworker/u30:0]",
amazon-ebs: "root 7 0.1 0.0 0 0 ? S 14:13 0:00 [rcu_sched]",
amazon-ebs: "root 8 0.0 0.0 0 0 ? S 14:13 0:00 [rcu_bh]",
amazon-ebs: "root 9 0.0 0.0 0 0 ? S 14:13 0:00 [migration/0]",
amazon-ebs: "root 10 0.0 0.0 0 0 ? S 14:13 0:00 [watchdog/0]",
amazon-ebs: "root 11 0.0 0.0 0 0 ? S 14:13 0:00 [kdevtmpfs]",
amazon-ebs: "root 12 0.0 0.0 0 0 ? S< 14:13 0:00 [netns]",
amazon-ebs: "root 13 0.0 0.0 0 0 ? S< 14:13 0:00 [perf]",
amazon-ebs: "root 14 0.0 0.0 0 0 ? S 14:13 0:00 [xenwatch]",
amazon-ebs: "root 15 0.0 0.0 0 0 ? S 14:13 0:00 [xenbus]",
amazon-ebs: "root 16 0.0 0.0 0 0 ? S 14:13 0:00 [kworker/0:1]",
amazon-ebs: "root 17 0.0 0.0 0 0 ? S 14:13 0:00 [khungtaskd]",
amazon-ebs: "root 18 0.0 0.0 0 0 ? S< 14:13 0:00 [writeback]",
amazon-ebs: "root 19 0.0 0.0 0 0 ? SN 14:13 0:00 [ksmd]",
amazon-ebs: "root 20 0.0 0.0 0 0 ? SN 14:13 0:00 [khugepaged]",
amazon-ebs: "root 21 0.0 0.0 0 0 ? S< 14:13 0:00 [crypto]",
amazon-ebs: "root 22 0.0 0.0 0 0 ? S< 14:13 0:00 [kintegrityd]",
amazon-ebs: "root 23 0.0 0.0 0 0 ? S< 14:13 0:00 [bioset]",
amazon-ebs: "root 24 0.0 0.0 0 0 ? S< 14:13 0:00 [kblockd]",
amazon-ebs: "root 25 0.0 0.0 0 0 ? S< 14:13 0:00 [ata_sff]",
amazon-ebs: "root 26 0.0 0.0 0 0 ? S< 14:13 0:00 [md]",
amazon-ebs: "root 27 0.0 0.0 0 0 ? S< 14:13 0:00 [devfreq_wq]",
amazon-ebs: "root 28 0.0 0.0 0 0 ? S 14:13 0:00 [kworker/u30:1]",
amazon-ebs: "root 30 0.0 0.0 0 0 ? S 14:13 0:00 [kswapd0]",
amazon-ebs: "root 31 0.0 0.0 0 0 ? S< 14:13 0:00 [vmstat]",
amazon-ebs: "root 32 0.0 0.0 0 0 ? S 14:13 0:00 [fsnotify_mark]",
amazon-ebs: "root 33 0.0 0.0 0 0 ? S 14:13 0:00 [ecryptfs-kthrea]",
amazon-ebs: "root 49 0.0 0.0 0 0 ? S< 14:13 0:00 [kthrotld]",
amazon-ebs: "root 50 0.0 0.0 0 0 ? S< 14:13 0:00 [bioset]",
amazon-ebs: "root 51 0.0 0.0 0 0 ? S< 14:13 0:00 [bioset]",
amazon-ebs: "root 52 0.0 0.0 0 0 ? S< 14:13 0:00 [bioset]",
amazon-ebs: "root 53 0.0 0.0 0 0 ? S< 14:13 0:00 [bioset]",
amazon-ebs: "root 54 0.0 0.0 0 0 ? S< 14:13 0:00 [bioset]",
amazon-ebs: "root 55 0.0 0.0 0 0 ? S< 14:13 0:00 [bioset]",
amazon-ebs: "root 56 0.0 0.0 0 0 ? S< 14:13 0:00 [bioset]",
amazon-ebs: "root 57 0.0 0.0 0 0 ? S< 14:13 0:00 [bioset]",
amazon-ebs: "root 58 0.0 0.0 0 0 ? S< 14:13 0:00 [bioset]",
amazon-ebs: "root 59 0.0 0.0 0 0 ? S< 14:13 0:00 [bioset]",
amazon-ebs: "root 60 0.0 0.0 0 0 ? S< 14:13 0:00 [bioset]",
amazon-ebs: "root 61 0.0 0.0 0 0 ? S< 14:13 0:00 [bioset]",
amazon-ebs: "root 62 0.0 0.0 0 0 ? S< 14:13 0:00 [bioset]",
amazon-ebs: "root 63 0.0 0.0 0 0 ? S< 14:13 0:00 [bioset]",
amazon-ebs: "root 64 0.0 0.0 0 0 ? S< 14:13 0:00 [bioset]",
amazon-ebs: "root 65 0.0 0.0 0 0 ? S< 14:13 0:00 [bioset]",
amazon-ebs: "root 66 0.0 0.0 0 0 ? S< 14:13 0:00 [bioset]",
amazon-ebs: "root 67 0.0 0.0 0 0 ? S< 14:13 0:00 [bioset]",
amazon-ebs: "root 68 0.0 0.0 0 0 ? S< 14:13 0:00 [bioset]",
amazon-ebs: "root 69 0.0 0.0 0 0 ? S< 14:13 0:00 [bioset]",
amazon-ebs: "root 70 0.0 0.0 0 0 ? S< 14:13 0:00 [bioset]",
amazon-ebs: "root 71 0.0 0.0 0 0 ? S< 14:13 0:00 [bioset]",
amazon-ebs: "root 72 0.0 0.0 0 0 ? S< 14:13 0:00 [bioset]",
amazon-ebs: "root 73 0.0 0.0 0 0 ? S< 14:13 0:00 [bioset]",
amazon-ebs: "root 74 0.0 0.0 0 0 ? S< 14:13 0:00 [nvme]",
amazon-ebs: "root 75 0.0 0.0 0 0 ? S 14:13 0:00 [scsi_eh_0]",
amazon-ebs: "root 76 0.0 0.0 0 0 ? S< 14:13 0:00 [scsi_tmf_0]",
amazon-ebs: "root 77 0.0 0.0 0 0 ? S 14:13 0:00 [scsi_eh_1]",
amazon-ebs: "root 78 0.0 0.0 0 0 ? S< 14:13 0:00 [scsi_tmf_1]",
amazon-ebs: "root 79 0.0 0.0 0 0 ? S 14:13 0:00 [kworker/u30:2]",
amazon-ebs: "root 83 0.0 0.0 0 0 ? S< 14:13 0:00 [ipv6_addrconf]",
amazon-ebs: "root 88 0.0 0.0 0 0 ? S< 14:13 0:00 [bioset]",
amazon-ebs: "root 97 0.0 0.0 0 0 ? S< 14:13 0:00 [deferwq]",
amazon-ebs: "root 249 0.0 0.0 0 0 ? S< 14:13 0:00 [raid5wq]",
amazon-ebs: "root 280 0.0 0.0 0 0 ? S< 14:13 0:00 [bioset]",
amazon-ebs: "root 301 0.0 0.0 0 0 ? S 14:13 0:00 [jbd2/xvda1-8]",
amazon-ebs: "root 302 0.0 0.0 0 0 ? S< 14:13 0:00 [ext4-rsv-conver]",
amazon-ebs: "root 363 0.0 0.0 0 0 ? S 14:13 0:00 [kworker/0:2]",
amazon-ebs: "root 373 0.0 0.0 0 0 ? S 14:13 0:00 [kworker/0:3]",
amazon-ebs: "root 385 0.3 0.2 28348 2692 ? Ss 14:13 0:00 /lib/systemd/systemd-journald",
amazon-ebs: "root 393 0.0 0.0 0 0 ? S< 14:13 0:00 [iscsi_eh]",
amazon-ebs: "root 398 0.0 0.0 0 0 ? S< 14:13 0:00 [ib_addr]",
amazon-ebs: "root 399 0.0 0.0 0 0 ? S< 14:13 0:00 [ib_mcast]",
amazon-ebs: "root 400 0.0 0.0 0 0 ? S< 14:13 0:00 [ib_nl_sa_wq]",
amazon-ebs: "root 401 0.0 0.0 0 0 ? S< 14:13 0:00 [ib_cm]",
amazon-ebs: "root 402 0.0 0.0 0 0 ? S< 14:13 0:00 [iw_cm_wq]",
amazon-ebs: "root 403 0.0 0.0 0 0 ? S< 14:13 0:00 [rdma_cm]",
amazon-ebs: "root 404 0.0 0.0 0 0 ? S 14:13 0:00 [kauditd]",
amazon-ebs: "root 431 0.0 0.1 94772 1636 ? Ss 14:13 0:00 /sbin/lvmetad -f",
amazon-ebs: "root 505 0.0 0.4 42808 4220 ? Ss 14:13 0:00 /lib/systemd/systemd-udevd",
amazon-ebs: "root 650 0.0 0.0 0 0 ? S< 14:13 0:00 [kworker/0:1H]",
amazon-ebs: "systemd+ 725 0.0 0.2 100324 2464 ? Ssl 14:13 0:00 /lib/systemd/systemd-timesyncd",
amazon-ebs: "root 906 0.0 0.0 16000 848 ? Ss 14:13 0:00 /sbin/dhclient -1 -v -pf /run/dhclient.eth0.pid -lf /var/lib/dhcp/dhclient.eth0.leases -I -df /var/lib/dhcp/dhclient6.eth0.leases eth0",
amazon-ebs: "root 1056 0.0 0.0 5220 148 ? Ss 14:13 0:00 /sbin/iscsid",
amazon-ebs: "root 1057 0.0 0.3 5720 3504 ? S<Ls 14:13 0:00 /sbin/iscsid",
amazon-ebs: "message+ 1064 0.0 0.3 42900 3836 ? Ss 14:13 0:00 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation",
amazon-ebs: "root 1070 0.0 0.1 95368 1520 ? Ssl 14:13 0:00 /usr/bin/lxcfs /var/lib/lxcfs/",
amazon-ebs: "syslog 1074 0.0 0.3 260628 3388 ? Ssl 14:13 0:00 /usr/sbin/rsyslogd -n",
amazon-ebs: "root 1094 0.0 0.2 28544 2988 ? Ss 14:13 0:00 /lib/systemd/systemd-logind",
amazon-ebs: "root 1108 0.0 0.0 0 0 ? S 14:13 0:00 [kworker/0:4]",
amazon-ebs: "daemon 1111 0.0 0.2 26044 2144 ? Ss 14:13 0:00 /usr/sbin/atd -f",
amazon-ebs: "root 1114 0.0 0.2 26068 2596 ? Ss 14:13 0:00 /usr/sbin/cron -f",
amazon-ebs: "root 1121 0.0 0.0 4396 680 ? Ss 14:13 0:00 /usr/sbin/acpid",
amazon-ebs: "root 1127 0.0 0.5 272944 5868 ? Ssl 14:13 0:00 /usr/lib/accountsservice/accounts-daemon",
amazon-ebs: "root 1171 0.0 0.0 13372 160 ? Ss 14:13 0:00 /sbin/mdadm --monitor --pid-file /run/mdadm/monitor.pid --daemonise --scan --syslog",
amazon-ebs: "root 1175 0.0 1.9 171712 19336 ? Ssl 14:13 0:00 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal",
amazon-ebs: "root 1178 0.0 0.6 277180 6136 ? Ssl 14:13 0:00 /usr/lib/policykit-1/polkitd --no-debug",
amazon-ebs: "root 1255 0.0 0.1 14656 1800 tty1 Ss+ 14:13 0:00 /sbin/agetty --noclear tty1 linux",
amazon-ebs: "root 1262 0.0 0.1 12840 1788 ttyS0 Ss+ 14:13 0:00 /sbin/agetty --keep-baud 115200 38400 9600 ttyS0 vt220",
amazon-ebs: "root 1293 0.0 0.5 65512 5576 ? Ss 14:13 0:00 /usr/sbin/sshd -D",
amazon-ebs: "root 1352 0.0 0.6 92800 6892 ? Ss 14:13 0:00 sshd: ubuntu [priv]",
amazon-ebs: "ubuntu 1354 0.0 0.4 45156 4580 ? Ss 14:13 0:00 /lib/systemd/systemd --user",
amazon-ebs: "ubuntu 1356 0.0 0.1 61312 2008 ? S 14:13 0:00 (sd-pam)",
amazon-ebs: "ubuntu 1472 0.0 0.4 92912 4276 ? S 14:13 0:00 sshd: ubuntu@notty",
amazon-ebs: "root 1476 0.0 0.0 0 0 ? S< 14:13 0:00 [loop0]",
amazon-ebs: "root 1602 0.3 2.2 452244 22828 ? Ssl 14:13 0:00 /usr/lib/snapd/snapd",
amazon-ebs: "root 1733 0.0 0.0 0 0 ? S< 14:13 0:00 [loop1]",
amazon-ebs: "root 1800 0.3 1.3 206696 13772 ? Ssl 14:13 0:00 /snap/amazon-ssm-agent/1455/amazon-ssm-agent",
amazon-ebs: "ubuntu 1977 0.0 0.0 4504 792 ? Ss 14:16 0:00 /bin/sh -c /usr/bin/python3 /tmp/ubuntu/ansible/ansible-tmp-1570544206.510417-83869940499016/AnsiballZ_command.py && sleep 0",
amazon-ebs: "ubuntu 1978 14.0 1.7 71428 17812 ? S 14:16 0:00 /usr/bin/python3 /tmp/ubuntu/ansible/ansible-tmp-1570544206.510417-83869940499016/AnsiballZ_command.py",
amazon-ebs: "ubuntu 1980 0.0 0.0 4504 748 ? S 14:16 0:00 /bin/sh -c ps aux",
amazon-ebs: "ubuntu 1981 0.0 0.2 34424 2872 ? R 14:16 0:00 ps aux"
amazon-ebs: ]
amazon-ebs: }
amazon-ebs:
amazon-ebs: TASK [check service] ***********************************************************
amazon-ebs: task path: /private/var/folders/tj/tshgns294mbd2qlh8zg4wj4m0000gp/T/tmpf3BU0mdeploy_packer/files/playbook_master.json:19
amazon-ebs: <127.0.0.1> ESTABLISH SSH CONNECTION FOR USER: root
amazon-ebs: <127.0.0.1> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o Port=55778 -o 'IdentityFile="/var/folders/tj/tshgns294mbd2qlh8zg4wj4m0000gp/T/ansible-key194005463"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/Users/kevin/.ansible/cp/6800b38506 127.0.0.1 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /tmp/${USER}/ansible/ansible-tmp-1570544207.982804-177041054382369 `" && echo ansible-tmp-1570544207.982804-177041054382369="` echo /tmp/${USER}/ansible/ansible-tmp-1570544207.982804-177041054382369 `" ) && sleep 0'"'"''
amazon-ebs: <127.0.0.1> (0, b'ansible-tmp-1570544207.982804-177041054382369=/tmp/ubuntu/ansible/ansible-tmp-1570544207.982804-177041054382369\n', b'OpenSSH_7.9p1, LibreSSL 2.7.3\r\ndebug1: Reading configuration data /Users/kevin/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 48: Applying options for *\r\ndebug1: /etc/ssh/ssh_config line 52: Applying options for *\r\ndebug2: resolve_canonicalize: hostname 127.0.0.1 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 = 94151\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')
amazon-ebs: Using module file /usr/local/Cellar/ansible/2.8.5/libexec/lib/python3.7/site-packages/ansible/modules/commands/command.py
amazon-ebs: <127.0.0.1> PUT /Users/kevin/.ansible/tmp/ansible-local-94143tgd6pr2c/tmpkdqetyby TO /tmp/ubuntu/ansible/ansible-tmp-1570544207.982804-177041054382369/AnsiballZ_command.py
amazon-ebs: <127.0.0.1> SSH: EXEC scp -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o Port=55778 -o 'IdentityFile="/var/folders/tj/tshgns294mbd2qlh8zg4wj4m0000gp/T/ansible-key194005463"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/Users/kevin/.ansible/cp/6800b38506 /Users/kevin/.ansible/tmp/ansible-local-94143tgd6pr2c/tmpkdqetyby '[127.0.0.1]:/tmp/ubuntu/ansible/ansible-tmp-1570544207.982804-177041054382369/AnsiballZ_command.py'
amazon-ebs: <127.0.0.1> (0, b'', b'Executing: program /usr/bin/ssh host 127.0.0.1, user (unspecified), command scp -v -t /tmp/ubuntu/ansible/ansible-tmp-1570544207.982804-177041054382369/AnsiballZ_command.py\nOpenSSH_7.9p1, LibreSSL 2.7.3\r\ndebug1: Reading configuration data /Users/kevin/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 48: Applying options for *\r\ndebug1: /etc/ssh/ssh_config line 52: Applying options for *\r\ndebug2: resolve_canonicalize: hostname 127.0.0.1 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 = 94151\r\ndebug3: mux_client_request_session: session request sent\r\nSending file modes: C0600 105401 tmpkdqetyby\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n')
amazon-ebs: <127.0.0.1> ESTABLISH SSH CONNECTION FOR USER: root
amazon-ebs: <127.0.0.1> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o Port=55778 -o 'IdentityFile="/var/folders/tj/tshgns294mbd2qlh8zg4wj4m0000gp/T/ansible-key194005463"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/Users/kevin/.ansible/cp/6800b38506 127.0.0.1 '/bin/sh -c '"'"'chmod u+x /tmp/ubuntu/ansible/ansible-tmp-1570544207.982804-177041054382369/ /tmp/ubuntu/ansible/ansible-tmp-1570544207.982804-177041054382369/AnsiballZ_command.py && sleep 0'"'"''
amazon-ebs: <127.0.0.1> (0, b'', b'OpenSSH_7.9p1, LibreSSL 2.7.3\r\ndebug1: Reading configuration data /Users/kevin/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 48: Applying options for *\r\ndebug1: /etc/ssh/ssh_config line 52: Applying options for *\r\ndebug2: resolve_canonicalize: hostname 127.0.0.1 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 = 94151\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')
amazon-ebs: <127.0.0.1> ESTABLISH SSH CONNECTION FOR USER: root
amazon-ebs: <127.0.0.1> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o Port=55778 -o 'IdentityFile="/var/folders/tj/tshgns294mbd2qlh8zg4wj4m0000gp/T/ansible-key194005463"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/Users/kevin/.ansible/cp/6800b38506 -tt 127.0.0.1 '/bin/sh -c '"'"'/usr/bin/python3 /tmp/ubuntu/ansible/ansible-tmp-1570544207.982804-177041054382369/AnsiballZ_command.py && sleep 0'"'"''
amazon-ebs: <127.0.0.1> (0, b'\n{"delta": "0:00:00.006506", "start": "2019-10-08 14:16:49.088278", "stdout": "\\u25cf unattended-upgrades.service - Unattended Upgrades Shutdown\\n Loaded: loaded (/lib/systemd/system/unattended-upgrades.service; enabled; vendor preset: enabled)\\n Active: active (running) since Tue 2019-10-08 14:13:43 UTC; 3min 5s ago\\n Docs: man:unattended-upgrade(8)\\n Main PID: 1175 (unattended-upgr)\\n Tasks: 2\\n Memory: 12.5M\\n CPU: 90ms\\n CGroup: /system.slice/unattended-upgrades.service\\n \\u2514\\u25001175 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal\\n\\nOct 08 14:13:43 ip-172-31-28-161 systemd[1]: Started Unattended Upgrades Shutdown.", "rc": 0, "changed": true, "stderr": "", "cmd": "systemctl status unattended-upgrades.service", "end": "2019-10-08 14:16:49.094784", "invocation": {"module_args": {"chdir": null, "argv": null, "strip_empty_ends": true, "creates": null, "executable": null, "stdin_add_newline": true, "_raw_params": "systemctl status unattended-upgrades.service", "removes": null, "stdin": null, "warn": true, "_uses_shell": true}}}\n', b'OpenSSH_7.9p1, LibreSSL 2.7.3\r\ndebug1: Reading configuration data /Users/kevin/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 48: Applying options for *\r\ndebug1: /etc/ssh/ssh_config line 52: Applying options for *\r\ndebug2: resolve_canonicalize: hostname 127.0.0.1 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 = 94151\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 127.0.0.1 closed.\r\n')
amazon-ebs: <127.0.0.1> ESTABLISH SSH CONNECTION FOR USER: root
amazon-ebs: <127.0.0.1> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o Port=55778 -o 'IdentityFile="/var/folders/tj/tshgns294mbd2qlh8zg4wj4m0000gp/T/ansible-key194005463"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/Users/kevin/.ansible/cp/6800b38506 127.0.0.1 '/bin/sh -c '"'"'rm -f -r /tmp/ubuntu/ansible/ansible-tmp-1570544207.982804-177041054382369/ > /dev/null 2>&1 && sleep 0'"'"''
amazon-ebs: <127.0.0.1> (0, b'', b'OpenSSH_7.9p1, LibreSSL 2.7.3\r\ndebug1: Reading configuration data /Users/kevin/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 48: Applying options for *\r\ndebug1: /etc/ssh/ssh_config line 52: Applying options for *\r\ndebug2: resolve_canonicalize: hostname 127.0.0.1 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 = 94151\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')
amazon-ebs: changed: [default] => {
amazon-ebs: "changed": true,
amazon-ebs: "cmd": "systemctl status unattended-upgrades.service",
amazon-ebs: "delta": "0:00:00.006506",
amazon-ebs: "end": "2019-10-08 14:16:49.094784",
amazon-ebs: "invocation": {
amazon-ebs: "module_args": {
amazon-ebs: "_raw_params": "systemctl status unattended-upgrades.service",
amazon-ebs: "_uses_shell": true,
amazon-ebs: "argv": null,
amazon-ebs: "chdir": null,
amazon-ebs: "creates": null,
amazon-ebs: "executable": null,
amazon-ebs: "removes": null,
amazon-ebs: "stdin": null,
amazon-ebs: "stdin_add_newline": true,
amazon-ebs: "strip_empty_ends": true,
amazon-ebs: "warn": true
amazon-ebs: }
amazon-ebs: },
amazon-ebs: "rc": 0,
amazon-ebs: "start": "2019-10-08 14:16:49.088278",
amazon-ebs: "stderr": "",
amazon-ebs: "stderr_lines": [],
amazon-ebs: "stdout": "● unattended-upgrades.service - Unattended Upgrades Shutdown\n Loaded: loaded (/lib/systemd/system/unattended-upgrades.service; enabled; vendor preset: enabled)\n Active: active (running) since Tue 2019-10-08 14:13:43 UTC; 3min 5s ago\n Docs: man:unattended-upgrade(8)\n Main PID: 1175 (unattended-upgr)\n Tasks: 2\n Memory: 12.5M\n CPU: 90ms\n CGroup: /system.slice/unattended-upgrades.service\n └─1175 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal\n\nOct 08 14:13:43 ip-172-31-28-161 systemd[1]: Started Unattended Upgrades Shutdown.",
amazon-ebs: "stdout_lines": [
amazon-ebs: "● unattended-upgrades.service - Unattended Upgrades Shutdown",
amazon-ebs: " Loaded: loaded (/lib/systemd/system/unattended-upgrades.service; enabled; vendor preset: enabled)",
amazon-ebs: " Active: active (running) since Tue 2019-10-08 14:13:43 UTC; 3min 5s ago",
amazon-ebs: " Docs: man:unattended-upgrade(8)",
amazon-ebs: " Main PID: 1175 (unattended-upgr)",
amazon-ebs: " Tasks: 2",
amazon-ebs: " Memory: 12.5M",
amazon-ebs: " CPU: 90ms",
amazon-ebs: " CGroup: /system.slice/unattended-upgrades.service",
amazon-ebs: " └─1175 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal",
amazon-ebs: "",
amazon-ebs: "Oct 08 14:13:43 ip-172-31-28-161 systemd[1]: Started Unattended Upgrades Shutdown."
amazon-ebs: ]
amazon-ebs: }
amazon-ebs:
amazon-ebs: TASK [run apt] *****************************************************************
amazon-ebs: task path: /private/var/folders/tj/tshgns294mbd2qlh8zg4wj4m0000gp/T/tmpf3BU0mdeploy_packer/files/playbook_master.json:25
amazon-ebs: <127.0.0.1> ESTABLISH SSH CONNECTION FOR USER: root
amazon-ebs: <127.0.0.1> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o Port=55778 -o 'IdentityFile="/var/folders/tj/tshgns294mbd2qlh8zg4wj4m0000gp/T/ansible-key194005463"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/Users/kevin/.ansible/cp/6800b38506 127.0.0.1 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /tmp/${USER}/ansible/ansible-tmp-1570544209.318091-88444562694633 `" && echo ansible-tmp-1570544209.318091-88444562694633="` echo /tmp/${USER}/ansible/ansible-tmp-1570544209.318091-88444562694633 `" ) && sleep 0'"'"''
amazon-ebs: <127.0.0.1> (0, b'ansible-tmp-1570544209.318091-88444562694633=/tmp/ubuntu/ansible/ansible-tmp-1570544209.318091-88444562694633\n', b'OpenSSH_7.9p1, LibreSSL 2.7.3\r\ndebug1: Reading configuration data /Users/kevin/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 48: Applying options for *\r\ndebug1: /etc/ssh/ssh_config line 52: Applying options for *\r\ndebug2: resolve_canonicalize: hostname 127.0.0.1 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 = 94151\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')
amazon-ebs: Using module file /usr/local/Cellar/ansible/2.8.5/libexec/lib/python3.7/site-packages/ansible/modules/commands/command.py
amazon-ebs: <127.0.0.1> PUT /Users/kevin/.ansible/tmp/ansible-local-94143tgd6pr2c/tmp8zvvn0jx TO /tmp/ubuntu/ansible/ansible-tmp-1570544209.318091-88444562694633/AnsiballZ_command.py
amazon-ebs: <127.0.0.1> SSH: EXEC scp -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o Port=55778 -o 'IdentityFile="/var/folders/tj/tshgns294mbd2qlh8zg4wj4m0000gp/T/ansible-key194005463"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/Users/kevin/.ansible/cp/6800b38506 /Users/kevin/.ansible/tmp/ansible-local-94143tgd6pr2c/tmp8zvvn0jx '[127.0.0.1]:/tmp/ubuntu/ansible/ansible-tmp-1570544209.318091-88444562694633/AnsiballZ_command.py'
amazon-ebs: <127.0.0.1> (0, b'', b'Executing: program /usr/bin/ssh host 127.0.0.1, user (unspecified), command scp -v -t /tmp/ubuntu/ansible/ansible-tmp-1570544209.318091-88444562694633/AnsiballZ_command.py\nOpenSSH_7.9p1, LibreSSL 2.7.3\r\ndebug1: Reading configuration data /Users/kevin/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 48: Applying options for *\r\ndebug1: /etc/ssh/ssh_config line 52: Applying options for *\r\ndebug2: resolve_canonicalize: hostname 127.0.0.1 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 = 94151\r\ndebug3: mux_client_request_session: session request sent\r\nSending file modes: C0600 105371 tmp8zvvn0jx\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n')
amazon-ebs: <127.0.0.1> ESTABLISH SSH CONNECTION FOR USER: root
amazon-ebs: <127.0.0.1> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o Port=55778 -o 'IdentityFile="/var/folders/tj/tshgns294mbd2qlh8zg4wj4m0000gp/T/ansible-key194005463"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/Users/kevin/.ansible/cp/6800b38506 127.0.0.1 '/bin/sh -c '"'"'chmod u+x /tmp/ubuntu/ansible/ansible-tmp-1570544209.318091-88444562694633/ /tmp/ubuntu/ansible/ansible-tmp-1570544209.318091-88444562694633/AnsiballZ_command.py && sleep 0'"'"''
amazon-ebs: <127.0.0.1> (0, b'', b'OpenSSH_7.9p1, LibreSSL 2.7.3\r\ndebug1: Reading configuration data /Users/kevin/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 48: Applying options for *\r\ndebug1: /etc/ssh/ssh_config line 52: Applying options for *\r\ndebug2: resolve_canonicalize: hostname 127.0.0.1 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 = 94151\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')
amazon-ebs: <127.0.0.1> ESTABLISH SSH CONNECTION FOR USER: root
amazon-ebs: <127.0.0.1> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o Port=55778 -o 'IdentityFile="/var/folders/tj/tshgns294mbd2qlh8zg4wj4m0000gp/T/ansible-key194005463"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/Users/kevin/.ansible/cp/6800b38506 -tt 127.0.0.1 '/bin/sh -c '"'"'/usr/bin/python3 /tmp/ubuntu/ansible/ansible-tmp-1570544209.318091-88444562694633/AnsiballZ_command.py && sleep 0'"'"''
amazon-ebs: <127.0.0.1> (0, b'\n{"stdout": "Hit:1 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial InRelease\\nGet:2 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-updates InRelease [109 kB]\\nGet:3 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-backports InRelease [107 kB]\\nGet:4 http://security.ubuntu.com/ubuntu xenial-security InRelease [109 kB]\\nGet:5 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages [7,532 kB]\\nGet:6 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/universe Translation-en [4,354 kB]\\nGet:7 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/multiverse amd64 Packages [144 kB]\\nGet:8 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/multiverse Translation-en [106 kB]\\nGet:9 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [1,045 kB]\\nGet:10 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/main Translation-en [405 kB]\\nGet:11 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [767 kB]\\nGet:12 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/universe Translation-en [321 kB]\\nGet:13 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/multiverse amd64 Packages [16.8 kB]\\nGet:14 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/multiverse Translation-en [8,468 B]\\nGet:15 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-backports/main amd64 Packages [7,280 B]\\nGet:16 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-backports/main Translation-en [4,456 B]\\nGet:17 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-backports/universe amd64 Packages [8,064 B]\\nGet:18 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-backports/universe Translation-en [4,328 B]\\nGet:19 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages [759 kB]\\nGet:20 http://security.ubuntu.com/ubuntu xenial-security/main Translation-en [295 kB]\\nGet:21 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 Packages [461 kB]\\nGet:22 http://security.ubuntu.com/ubuntu xenial-security/universe Translation-en [189 kB]\\nGet:23 http://security.ubuntu.com/ubuntu xenial-security/multiverse amd64 Packages [5,724 B]\\nGet:24 http://security.ubuntu.com/ubuntu xenial-security/multiverse Translation-en [2,708 B]\\nFetched 16.8 MB in 3s (5,063 kB/s)\\nReading package lists...\\nBuilding dependency tree...\\nReading state information...\\n14 packages can be upgraded. Run \'apt list --upgradable\' to see them.", "start": "2019-10-08 14:16:53.997128", "end": "2019-10-08 14:17:00.497891", "invocation": {"module_args": {"creates": null, "_uses_shell": true, "stdin_add_newline": true, "argv": null, "stdin": null, "removes": null, "executable": null, "_raw_params": "sudo apt update", "chdir": null, "strip_empty_ends": true, "warn": true}}, "warnings": ["Consider using \'become\', \'become_method\', and \'become_user\' rather than running sudo"], "rc": 0, "delta": "0:00:06.500763", "stderr": "\\nWARNING: apt does not have a stable CLI interface. Use with caution in scripts.", "cmd": "sudo apt update", "changed": true}\n', b'OpenSSH_7.9p1, LibreSSL 2.7.3\r\ndebug1: Reading configuration data /Users/kevin/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 48: Applying options for *\r\ndebug1: /etc/ssh/ssh_config line 52: Applying options for *\r\ndebug2: resolve_canonicalize: hostname 127.0.0.1 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 = 94151\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 127.0.0.1 closed.\r\n')
amazon-ebs: <127.0.0.1> ESTABLISH SSH CONNECTION FOR USER: root
amazon-ebs: <127.0.0.1> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o Port=55778 -o 'IdentityFile="/var/folders/tj/tshgns294mbd2qlh8zg4wj4m0000gp/T/ansible-key194005463"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/Users/kevin/.ansible/cp/6800b38506 127.0.0.1 '/bin/sh -c '"'"'rm -f -r /tmp/ubuntu/ansible/ansible-tmp-1570544209.318091-88444562694633/ > /dev/null 2>&1 && sleep 0'"'"''
amazon-ebs: <127.0.0.1> (0, b'', b'OpenSSH_7.9p1, LibreSSL 2.7.3\r\ndebug1: Reading configuration data /Users/kevin/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 48: Applying options for *\r\ndebug1: /etc/ssh/ssh_config line 52: Applying options for *\r\ndebug2: resolve_canonicalize: hostname 127.0.0.1 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 = 94151\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')
amazon-ebs: [WARNING]: Consider using 'become', 'become_method', and 'become_user' rather
amazon-ebs: than running sudo
amazon-ebs: changed: [default] => {
amazon-ebs:
amazon-ebs: "changed": true,
amazon-ebs: "cmd": "sudo apt update",
amazon-ebs: "delta": "0:00:06.500763",
amazon-ebs: "end": "2019-10-08 14:17:00.497891",
amazon-ebs: "invocation": {
amazon-ebs: "module_args": {
amazon-ebs: "_raw_params": "sudo apt update",
amazon-ebs: "_uses_shell": true,
amazon-ebs: "argv": null,
amazon-ebs: "chdir": null,
amazon-ebs: "creates": null,
amazon-ebs: "executable": null,
amazon-ebs: "removes": null,
amazon-ebs: "stdin": null,
amazon-ebs: "stdin_add_newline": true,
amazon-ebs: "strip_empty_ends": true,
amazon-ebs: "warn": true
amazon-ebs: }
amazon-ebs: },
amazon-ebs: "rc": 0,
amazon-ebs: "start": "2019-10-08 14:16:53.997128",
amazon-ebs: "stderr": "\nWARNING: apt does not have a stable CLI interface. Use with caution in scripts.",
amazon-ebs: "stderr_lines": [
amazon-ebs: "",
amazon-ebs: "WARNING: apt does not have a stable CLI interface. Use with caution in scripts."
amazon-ebs: ],
amazon-ebs: "stdout": "Hit:1 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial InRelease\nGet:2 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-updates InRelease [109 kB]\nGet:3 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-backports InRelease [107 kB]\nGet:4 http://security.ubuntu.com/ubuntu xenial-security InRelease [109 kB]\nGet:5 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages [7,532 kB]\nGet:6 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/universe Translation-en [4,354 kB]\nGet:7 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/multiverse amd64 Packages [144 kB]\nGet:8 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/multiverse Translation-en [106 kB]\nGet:9 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [1,045 kB]\nGet:10 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/main Translation-en [405 kB]\nGet:11 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [767 kB]\nGet:12 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/universe Translation-en [321 kB]\nGet:13 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/multiverse amd64 Packages [16.8 kB]\nGet:14 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/multiverse Translation-en [8,468 B]\nGet:15 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-backports/main amd64 Packages [7,280 B]\nGet:16 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-backports/main Translation-en [4,456 B]\nGet:17 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-backports/universe amd64 Packages [8,064 B]\nGet:18 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-backports/universe Translation-en [4,328 B]\nGet:19 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages [759 kB]\nGet:20 http://security.ubuntu.com/ubuntu xenial-security/main Translation-en [295 kB]\nGet:21 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 Packages [461 kB]\nGet:22 http://security.ubuntu.com/ubuntu xenial-security/universe Translation-en [189 kB]\nGet:23 http://security.ubuntu.com/ubuntu xenial-security/multiverse amd64 Packages [5,724 B]\nGet:24 http://security.ubuntu.com/ubuntu xenial-security/multiverse Translation-en [2,708 B]\nFetched 16.8 MB in 3s (5,063 kB/s)\nReading package lists...\nBuilding dependency tree...\nReading state information...\n14 packages can be upgraded. Run 'apt list --upgradable' to see them.",
amazon-ebs: "stdout_lines": [
amazon-ebs: "Hit:1 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial InRelease",
amazon-ebs: "Get:2 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-updates InRelease [109 kB]",
amazon-ebs: "Get:3 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-backports InRelease [107 kB]",
amazon-ebs: "Get:4 http://security.ubuntu.com/ubuntu xenial-security InRelease [109 kB]",
amazon-ebs: "Get:5 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages [7,532 kB]",
amazon-ebs: "Get:6 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/universe Translation-en [4,354 kB]",
amazon-ebs: "Get:7 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/multiverse amd64 Packages [144 kB]",
amazon-ebs: "Get:8 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/multiverse Translation-en [106 kB]",
amazon-ebs: "Get:9 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [1,045 kB]",
amazon-ebs: "Get:10 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/main Translation-en [405 kB]",
amazon-ebs: "Get:11 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [767 kB]",
amazon-ebs: "Get:12 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/universe Translation-en [321 kB]",
amazon-ebs: "Get:13 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/multiverse amd64 Packages [16.8 kB]",
amazon-ebs: "Get:14 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/multiverse Translation-en [8,468 B]",
amazon-ebs: "Get:15 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-backports/main amd64 Packages [7,280 B]",
amazon-ebs: "Get:16 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-backports/main Translation-en [4,456 B]",
amazon-ebs: "Get:17 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-backports/universe amd64 Packages [8,064 B]",
amazon-ebs: "Get:18 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-backports/universe Translation-en [4,328 B]",
amazon-ebs: "Get:19 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages [759 kB]",
amazon-ebs: "Get:20 http://security.ubuntu.com/ubuntu xenial-security/main Translation-en [295 kB]",
amazon-ebs: "Get:21 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 Packages [461 kB]",
amazon-ebs: "Get:22 http://security.ubuntu.com/ubuntu xenial-security/universe Translation-en [189 kB]",
amazon-ebs: "Get:23 http://security.ubuntu.com/ubuntu xenial-security/multiverse amd64 Packages [5,724 B]",
amazon-ebs: "Get:24 http://security.ubuntu.com/ubuntu xenial-security/multiverse Translation-en [2,708 B]",
amazon-ebs: "Fetched 16.8 MB in 3s (5,063 kB/s)",
amazon-ebs: "Reading package lists...",
amazon-ebs: "Building dependency tree...",
amazon-ebs: "Reading state information...",
amazon-ebs: "14 packages can be upgraded. Run 'apt list --upgradable' to see them."
amazon-ebs: ]
amazon-ebs: }
amazon-ebs:
amazon-ebs: TASK [check_who] ***************************************************************
amazon-ebs: task path: /private/var/folders/tj/tshgns294mbd2qlh8zg4wj4m0000gp/T/tmpf3BU0mdeploy_packer/files/playbook_master.json:33
amazon-ebs: <127.0.0.1> ESTABLISH SSH CONNECTION FOR USER: root
amazon-ebs: <127.0.0.1> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o Port=55778 -o 'IdentityFile="/var/folders/tj/tshgns294mbd2qlh8zg4wj4m0000gp/T/ansible-key194005463"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/Users/kevin/.ansible/cp/6800b38506 127.0.0.1 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /tmp/${USER}/ansible/ansible-tmp-1570544220.686739-246744972141104 `" && echo ansible-tmp-1570544220.686739-246744972141104="` echo /tmp/${USER}/ansible/ansible-tmp-1570544220.686739-246744972141104 `" ) && sleep 0'"'"''
amazon-ebs: <127.0.0.1> (0, b'ansible-tmp-1570544220.686739-246744972141104=/tmp/ubuntu/ansible/ansible-tmp-1570544220.686739-246744972141104\n', b'OpenSSH_7.9p1, LibreSSL 2.7.3\r\ndebug1: Reading configuration data /Users/kevin/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 48: Applying options for *\r\ndebug1: /etc/ssh/ssh_config line 52: Applying options for *\r\ndebug2: resolve_canonicalize: hostname 127.0.0.1 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 = 94151\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')
amazon-ebs: Using module file /usr/local/Cellar/ansible/2.8.5/libexec/lib/python3.7/site-packages/ansible/modules/commands/command.py
amazon-ebs: <127.0.0.1> PUT /Users/kevin/.ansible/tmp/ansible-local-94143tgd6pr2c/tmp1szemri9 TO /tmp/ubuntu/ansible/ansible-tmp-1570544220.686739-246744972141104/AnsiballZ_command.py
amazon-ebs: <127.0.0.1> SSH: EXEC scp -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o Port=55778 -o 'IdentityFile="/var/folders/tj/tshgns294mbd2qlh8zg4wj4m0000gp/T/ansible-key194005463"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/Users/kevin/.ansible/cp/6800b38506 /Users/kevin/.ansible/tmp/ansible-local-94143tgd6pr2c/tmp1szemri9 '[127.0.0.1]:/tmp/ubuntu/ansible/ansible-tmp-1570544220.686739-246744972141104/AnsiballZ_command.py'
amazon-ebs: <127.0.0.1> (0, b'', b'Executing: program /usr/bin/ssh host 127.0.0.1, user (unspecified), command scp -v -t /tmp/ubuntu/ansible/ansible-tmp-1570544220.686739-246744972141104/AnsiballZ_command.py\nOpenSSH_7.9p1, LibreSSL 2.7.3\r\ndebug1: Reading configuration data /Users/kevin/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 48: Applying options for *\r\ndebug1: /etc/ssh/ssh_config line 52: Applying options for *\r\ndebug2: resolve_canonicalize: hostname 127.0.0.1 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 = 94151\r\ndebug3: mux_client_request_session: session request sent\r\nSending file modes: C0600 105341 tmp1szemri9\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n')
amazon-ebs: <127.0.0.1> ESTABLISH SSH CONNECTION FOR USER: root
amazon-ebs: <127.0.0.1> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o Port=55778 -o 'IdentityFile="/var/folders/tj/tshgns294mbd2qlh8zg4wj4m0000gp/T/ansible-key194005463"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/Users/kevin/.ansible/cp/6800b38506 127.0.0.1 '/bin/sh -c '"'"'chmod u+x /tmp/ubuntu/ansible/ansible-tmp-1570544220.686739-246744972141104/ /tmp/ubuntu/ansible/ansible-tmp-1570544220.686739-246744972141104/AnsiballZ_command.py && sleep 0'"'"''
amazon-ebs: <127.0.0.1> (0, b'', b'OpenSSH_7.9p1, LibreSSL 2.7.3\r\ndebug1: Reading configuration data /Users/kevin/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 48: Applying options for *\r\ndebug1: /etc/ssh/ssh_config line 52: Applying options for *\r\ndebug2: resolve_canonicalize: hostname 127.0.0.1 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 = 94151\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')
amazon-ebs: <127.0.0.1> ESTABLISH SSH CONNECTION FOR USER: root
amazon-ebs: <127.0.0.1> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o Port=55778 -o 'IdentityFile="/var/folders/tj/tshgns294mbd2qlh8zg4wj4m0000gp/T/ansible-key194005463"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/Users/kevin/.ansible/cp/6800b38506 -tt 127.0.0.1 '/bin/sh -c '"'"'/usr/bin/python3 /tmp/ubuntu/ansible/ansible-tmp-1570544220.686739-246744972141104/AnsiballZ_command.py && sleep 0'"'"''
amazon-ebs: <127.0.0.1> (0, b'\n{"delta": "0:00:00.005051", "invocation": {"module_args": {"strip_empty_ends": true, "chdir": null, "argv": null, "warn": true, "creates": null, "stdin": null, "_raw_params": "whoami", "removes": null, "executable": null, "stdin_add_newline": true, "_uses_shell": false}}, "cmd": ["whoami"], "changed": true, "rc": 0, "stdout": "ubuntu", "end": "2019-10-08 14:17:01.832331", "start": "2019-10-08 14:17:01.827280", "stderr": ""}\n', b'OpenSSH_7.9p1, LibreSSL 2.7.3\r\ndebug1: Reading configuration data /Users/kevin/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 48: Applying options for *\r\ndebug1: /etc/ssh/ssh_config line 52: Applying options for *\r\ndebug2: resolve_canonicalize: hostname 127.0.0.1 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 = 94151\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 127.0.0.1 closed.\r\n')
amazon-ebs: <127.0.0.1> ESTABLISH SSH CONNECTION FOR USER: root
amazon-ebs: <127.0.0.1> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o Port=55778 -o 'IdentityFile="/var/folders/tj/tshgns294mbd2qlh8zg4wj4m0000gp/T/ansible-key194005463"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/Users/kevin/.ansible/cp/6800b38506 127.0.0.1 '/bin/sh -c '"'"'rm -f -r /tmp/ubuntu/ansible/ansible-tmp-1570544220.686739-246744972141104/ > /dev/null 2>&1 && sleep 0'"'"''
amazon-ebs: <127.0.0.1> (0, b'', b'OpenSSH_7.9p1, LibreSSL 2.7.3\r\ndebug1: Reading configuration data /Users/kevin/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 48: Applying options for *\r\ndebug1: /etc/ssh/ssh_config line 52: Applying options for *\r\ndebug2: resolve_canonicalize: hostname 127.0.0.1 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 = 94151\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')
amazon-ebs: changed: [default] => {
amazon-ebs: "changed": true,
amazon-ebs: "cmd": [
amazon-ebs: "whoami"
amazon-ebs: ],
amazon-ebs: "delta": "0:00:00.005051",
amazon-ebs: "end": "2019-10-08 14:17:01.832331",
amazon-ebs: "invocation": {
amazon-ebs: "module_args": {
amazon-ebs: "_raw_params": "whoami",
amazon-ebs: "_uses_shell": false,
amazon-ebs: "argv": null,
amazon-ebs: "chdir": null,
amazon-ebs: "creates": null,
amazon-ebs: "executable": null,
amazon-ebs: "removes": null,
amazon-ebs: "stdin": null,
amazon-ebs: "stdin_add_newline": true,
amazon-ebs: "strip_empty_ends": true,
amazon-ebs: "warn": true
amazon-ebs: }
amazon-ebs: },
amazon-ebs: "rc": 0,
amazon-ebs: "start": "2019-10-08 14:17:01.827280",
amazon-ebs: "stderr": "",
amazon-ebs: "stderr_lines": [],
amazon-ebs: "stdout": "ubuntu",
amazon-ebs: "stdout_lines": [
amazon-ebs: "ubuntu"
amazon-ebs: ]
amazon-ebs: }
amazon-ebs:
amazon-ebs: TASK [update cache] ************************************************************
amazon-ebs: task path: /private/var/folders/tj/tshgns294mbd2qlh8zg4wj4m0000gp/T/tmpf3BU0mdeploy_packer/files/playbook_master.json:39
amazon-ebs: <127.0.0.1> ESTABLISH SSH CONNECTION FOR USER: root
amazon-ebs: <127.0.0.1> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o Port=55778 -o 'IdentityFile="/var/folders/tj/tshgns294mbd2qlh8zg4wj4m0000gp/T/ansible-key194005463"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/Users/kevin/.ansible/cp/6800b38506 127.0.0.1 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /tmp/${USER}/ansible/ansible-tmp-1570544222.103898-26165489835543 `" && echo ansible-tmp-1570544222.103898-26165489835543="` echo /tmp/${USER}/ansible/ansible-tmp-1570544222.103898-26165489835543 `" ) && sleep 0'"'"''
amazon-ebs: <127.0.0.1> (0, b'ansible-tmp-1570544222.103898-26165489835543=/tmp/ubuntu/ansible/ansible-tmp-1570544222.103898-26165489835543\n', b'OpenSSH_7.9p1, LibreSSL 2.7.3\r\ndebug1: Reading configuration data /Users/kevin/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 48: Applying options for *\r\ndebug1: /etc/ssh/ssh_config line 52: Applying options for *\r\ndebug2: resolve_canonicalize: hostname 127.0.0.1 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 = 94151\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')
amazon-ebs: Using module file /usr/local/Cellar/ansible/2.8.5/libexec/lib/python3.7/site-packages/ansible/modules/packaging/os/apt.py
amazon-ebs: <127.0.0.1> PUT /Users/kevin/.ansible/tmp/ansible-local-94143tgd6pr2c/tmp6flwkhe3 TO /tmp/ubuntu/ansible/ansible-tmp-1570544222.103898-26165489835543/AnsiballZ_apt.py
amazon-ebs: <127.0.0.1> SSH: EXEC scp -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o Port=55778 -o 'IdentityFile="/var/folders/tj/tshgns294mbd2qlh8zg4wj4m0000gp/T/ansible-key194005463"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/Users/kevin/.ansible/cp/6800b38506 /Users/kevin/.ansible/tmp/ansible-local-94143tgd6pr2c/tmp6flwkhe3 '[127.0.0.1]:/tmp/ubuntu/ansible/ansible-tmp-1570544222.103898-26165489835543/AnsiballZ_apt.py'
amazon-ebs: <127.0.0.1> (0, b'', b'Executing: program /usr/bin/ssh host 127.0.0.1, user (unspecified), command scp -v -t /tmp/ubuntu/ansible/ansible-tmp-1570544222.103898-26165489835543/AnsiballZ_apt.py\nOpenSSH_7.9p1, LibreSSL 2.7.3\r\ndebug1: Reading configuration data /Users/kevin/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 48: Applying options for *\r\ndebug1: /etc/ssh/ssh_config line 52: Applying options for *\r\ndebug2: resolve_canonicalize: hostname 127.0.0.1 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 = 94151\r\ndebug3: mux_client_request_session: session request sent\r\nSending file modes: C0600 138600 tmp6flwkhe3\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n')
amazon-ebs: <127.0.0.1> ESTABLISH SSH CONNECTION FOR USER: root
amazon-ebs: <127.0.0.1> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o Port=55778 -o 'IdentityFile="/var/folders/tj/tshgns294mbd2qlh8zg4wj4m0000gp/T/ansible-key194005463"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/Users/kevin/.ansible/cp/6800b38506 127.0.0.1 '/bin/sh -c '"'"'chmod u+x /tmp/ubuntu/ansible/ansible-tmp-1570544222.103898-26165489835543/ /tmp/ubuntu/ansible/ansible-tmp-1570544222.103898-26165489835543/AnsiballZ_apt.py && sleep 0'"'"''
amazon-ebs: <127.0.0.1> (0, b'', b'OpenSSH_7.9p1, LibreSSL 2.7.3\r\ndebug1: Reading configuration data /Users/kevin/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 48: Applying options for *\r\ndebug1: /etc/ssh/ssh_config line 52: Applying options for *\r\ndebug2: resolve_canonicalize: hostname 127.0.0.1 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 = 94151\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')
amazon-ebs: <127.0.0.1> ESTABLISH SSH CONNECTION FOR USER: root
amazon-ebs: <127.0.0.1> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o Port=55778 -o 'IdentityFile="/var/folders/tj/tshgns294mbd2qlh8zg4wj4m0000gp/T/ansible-key194005463"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/Users/kevin/.ansible/cp/6800b38506 -tt 127.0.0.1 '/bin/sh -c '"'"'/usr/bin/python3 /tmp/ubuntu/ansible/ansible-tmp-1570544222.103898-26165489835543/AnsiballZ_apt.py && sleep 0'"'"''
amazon-ebs: <127.0.0.1> (1, b'Traceback (most recent call last):\n File "/usr/lib/python3/dist-packages/apt/cache.py", line 63, in __enter__\n return self._lock.__enter__()\nSystemError: E:Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied)\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File "/tmp/ansible_apt_payload_hhdm1m5m/__main__.py", line 1103, in main\n cache.update()\n File "/usr/lib/python3/dist-packages/apt/cache.py", line 481, in update\n with _WrappedLock(apt_pkg.config.find_dir("Dir::State::Lists")):\n File "/usr/lib/python3/dist-packages/apt/cache.py", line 66, in __enter__\n (self._path, e))\napt.cache.LockFailedException: Failed to lock directory /var/lib/apt/lists/: E:Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied)\n\n<traceback object at 0x7f36903e7608>\n>>>\n<class \'apt.cache.LockFailedException\'> __main__.py 1103\n\n{"invocation": {"module_args": {"deb": null, "policy_rc_d": null, "update_cache": true, "force_apt_get": false, "allow_unauthenticated": false, "purge": false, "autoclean": false, "only_upgrade": false, "force": false, "install_recommends": null, "cache_valid_time": 0, "autoremove": false, "state": "present", "dpkg_options": "force-confdef,force-confold", "upgrade": null, "package": null, "default_release": null}}, "warnings": ["Could not find aptitude. Using apt-get instead"], "failed": true, "exception": " File \\"/tmp/ansible_apt_payload_hhdm1m5m/__main__.py\\", line 1103, in main\\n cache.update()\\n File \\"/usr/lib/python3/dist-packages/apt/cache.py\\", line 481, in update\\n with _WrappedLock(apt_pkg.config.find_dir(\\"Dir::State::Lists\\")):\\n File \\"/usr/lib/python3/dist-packages/apt/cache.py\\", line 66, in __enter__\\n (self._path, e))\\n", "msg": "AFailed to lock directory /var/lib/apt/lists/: E:Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied)Failed to lock apt for exclusive operation BAH"}\n', b'OpenSSH_7.9p1, LibreSSL 2.7.3\r\ndebug1: Reading configuration data /Users/kevin/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 48: Applying options for *\r\ndebug1: /etc/ssh/ssh_config line 52: Applying options for *\r\ndebug2: resolve_canonicalize: hostname 127.0.0.1 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 = 94151\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 127.0.0.1 closed.\r\n')
amazon-ebs: <127.0.0.1> Failed to connect to the host via ssh: OpenSSH_7.9p1, LibreSSL 2.7.3
amazon-ebs: debug1: Reading configuration data /Users/kevin/.ssh/config
amazon-ebs: debug1: Reading configuration data /etc/ssh/ssh_config
amazon-ebs: debug1: /etc/ssh/ssh_config line 48: Applying options for *
amazon-ebs: debug1: /etc/ssh/ssh_config line 52: Applying options for *
amazon-ebs: debug2: resolve_canonicalize: hostname 127.0.0.1 is address
amazon-ebs: debug1: auto-mux: Trying existing master
amazon-ebs: debug2: fd 3 setting O_NONBLOCK
amazon-ebs: debug2: mux_client_hello_exchange: master version 4
amazon-ebs: debug3: mux_client_forwards: request forwardings: 0 local, 0 remote
amazon-ebs: debug3: mux_client_request_session: entering
amazon-ebs: debug3: mux_client_request_alive: entering
amazon-ebs: debug3: mux_client_request_alive: done pid = 94151
amazon-ebs: debug3: mux_client_request_session: session request sent
amazon-ebs: debug3: mux_client_read_packet: read header failed: Broken pipe
amazon-ebs: debug2: Received exit status from master 1
amazon-ebs: Shared connection to 127.0.0.1 closed.
amazon-ebs: <127.0.0.1> ESTABLISH SSH CONNECTION FOR USER: root
amazon-ebs: <127.0.0.1> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o Port=55778 -o 'IdentityFile="/var/folders/tj/tshgns294mbd2qlh8zg4wj4m0000gp/T/ansible-key194005463"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="root"' -o ConnectTimeout=10 -o ControlPath=/Users/kevin/.ansible/cp/6800b38506 127.0.0.1 '/bin/sh -c '"'"'rm -f -r /tmp/ubuntu/ansible/ansible-tmp-1570544222.103898-26165489835543/ > /dev/null 2>&1 && sleep 0'"'"''
amazon-ebs: <127.0.0.1> (0, b'', b'OpenSSH_7.9p1, LibreSSL 2.7.3\r\ndebug1: Reading configuration data /Users/kevin/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 48: Applying options for *\r\ndebug1: /etc/ssh/ssh_config line 52: Applying options for *\r\ndebug2: resolve_canonicalize: hostname 127.0.0.1 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 = 94151\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')
amazon-ebs: The full traceback is:
amazon-ebs: [WARNING]: Could not find aptitude. Using apt-get instead
amazon-ebs: File "/tmp/ansible_apt_payload_hhdm1m5m/__main__.py", line 1103, in main
amazon-ebs:
amazon-ebs: cache.update()
amazon-ebs: File "/usr/lib/python3/dist-packages/apt/cache.py", line 481, in update
amazon-ebs: with _WrappedLock(apt_pkg.config.find_dir("Dir::State::Lists")):
amazon-ebs: File "/usr/lib/python3/dist-packages/apt/cache.py", line 66, in __enter__
amazon-ebs: (self._path, e))
amazon-ebs:
amazon-ebs: fatal: [default]: FAILED! => {
amazon-ebs: "changed": false,
amazon-ebs: "invocation": {
amazon-ebs: "module_args": {
amazon-ebs: "allow_unauthenticated": false,
amazon-ebs: "autoclean": false,
amazon-ebs: "autoremove": false,
amazon-ebs: "cache_valid_time": 0,
amazon-ebs: "deb": null,
amazon-ebs: "default_release": null,
amazon-ebs: "dpkg_options": "force-confdef,force-confold",
amazon-ebs: "force": false,
amazon-ebs: "force_apt_get": false,
amazon-ebs: "install_recommends": null,
amazon-ebs: "only_upgrade": false,
amazon-ebs: "package": null,
amazon-ebs: "policy_rc_d": null,
amazon-ebs: "purge": false,
amazon-ebs: "state": "present",
amazon-ebs: "update_cache": true,
amazon-ebs: "upgrade": null
amazon-ebs: }
amazon-ebs: },
amazon-ebs: "msg": "AFailed to lock directory /var/lib/apt/lists/: E:Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied)Failed to lock apt for exclusive operation BAH"
amazon-ebs: }
amazon-ebs:
amazon-ebs: PLAY RECAP *********************************************************************
amazon-ebs: default : ok=6 changed=5 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0
amazon-ebs:
==> amazon-ebs: Terminating the source AWS instance...
==> amazon-ebs: Cleaning up any extra volumes...
==> amazon-ebs: No volumes to clean up, skipping
==> amazon-ebs: Deleting temporary security group...
==> amazon-ebs: Deleting temporary keypair...
Build 'amazon-ebs' errored: Error executing Ansible: Non-zero exit status: exit status 2
==> Some builds didn't complete successfully and had errors:
--> amazon-ebs: Error executing Ansible: Non-zero exit status: exit status 2
==> Builds finished but no artifacts were created.
Traceback (most recent call last):
File "/private/var/tmp/_bazel_kevin/d3141ad1e6fcae83ac4bb72493c727e5/execroot/__main__/bazel-out/darwin-fastbuild/bin/corp/dev/master_ami_config_deploy_packer.py", line 49, in <module>
], cwd=target_temp_dir)
File "/usr/local/Cellar/python@2/2.7.15_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 190, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/private/var/tmp/_bazel_kevin/d3141ad1e6fcae83ac4bb72493c727e5/execroot/__main__/bazel-out/darwin-fastbuild/bin/corp/dev/master_ami_config_deploy_packer.py.runfiles/__main__/external/packer_osx/packer', 'build', 'config.json']' returned non-zero exit status 1
Users-MacBook-Pro:tgkj kevin$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment