Last active
October 8, 2019 14:56
-
-
Save kovkev/297918b8506b5c74a2a125712456d140 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Target //corp/dev:master_ami up-to-date: | |
bazel-bin/corp/dev/master_ami_config_deploy_packer.py | |
INFO: Elapsed time: 0.627s, Critical Path: 0.43s | |
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 1570545819 | |
amazon-ebs: Found Image ID: ami-04763b3055de4860b | |
==> amazon-ebs: Creating temporary keypair: packer_5d9ca09b-88b6-0dd7-6dac-04c16b06dd3f | |
==> amazon-ebs: Creating temporary security group for this instance: packer_5d9ca09d-6dd2-c346-8c83-e394ab9088d2 | |
==> 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-0caaba41bd31f8bc6 | |
==> amazon-ebs: Waiting for instance (i-0caaba41bd31f8bc6) to become ready... | |
==> amazon-ebs: Using ssh communicator to connect: 54.198.252.109 | |
==> 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-shell352123614 | |
==> 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-ansible624493009 /private/var/folders/tj/tshgns294mbd2qlh8zg4wj4m0000gp/T/tmpim1nN6deploy_packer/files/playbook_master.json -e ansible_ssh_private_key_file=/var/folders/tj/tshgns294mbd2qlh8zg4wj4m0000gp/T/ansible-key283380154 -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-ansible624493009 as it did not pass it's verify_file() method | |
amazon-ebs: script declined parsing /var/folders/tj/tshgns294mbd2qlh8zg4wj4m0000gp/T/packer-provisioner-ansible624493009 as it did not pass it's verify_file() method | |
amazon-ebs: auto declined parsing /var/folders/tj/tshgns294mbd2qlh8zg4wj4m0000gp/T/packer-provisioner-ansible624493009 as it did not pass it's verify_file() method | |
amazon-ebs: Parsed /var/folders/tj/tshgns294mbd2qlh8zg4wj4m0000gp/T/packer-provisioner-ansible624493009 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/tmpim1nN6deploy_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-ansible624493009',) | |
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-key283380154', '--become-method=su') | |
amazon-ebs: forks: 5 | |
amazon-ebs: 1 plays in /private/var/folders/tj/tshgns294mbd2qlh8zg4wj4m0000gp/T/tmpim1nN6deploy_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/tmpim1nN6deploy_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=58532 -o 'IdentityFile="/var/folders/tj/tshgns294mbd2qlh8zg4wj4m0000gp/T/ansible-key283380154"' -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/85b43f0ef9 127.0.0.1 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /tmp/${USER}/ansible/ansible-tmp-1570545946.766677-172798387899155 `" && echo ansible-tmp-1570545946.766677-172798387899155="` echo /tmp/${USER}/ansible/ansible-tmp-1570545946.766677-172798387899155 `" ) && sleep 0'"'"'' | |
amazon-ebs: <127.0.0.1> (0, b'ansible-tmp-1570545946.766677-172798387899155=/tmp/ubuntu/ansible/ansible-tmp-1570545946.766677-172798387899155\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/85b43f0ef9" does not exist\r\ndebug2: ssh_connect_direct\r\ndebug1: Connecting to 127.0.0.1 [127.0.0.1] port 58532.\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug1: fd 3 clearing O_NONBLOCK\r\ndebug1: Connection established.\r\ndebug3: timeout: 9999 ms remain after connect\r\ndebug1: identity file /var/folders/tj/tshgns294mbd2qlh8zg4wj4m0000gp/T/ansible-key283380154 type -1\r\ndebug1: identity file /var/folders/tj/tshgns294mbd2qlh8zg4wj4m0000gp/T/ansible-key283380154-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:58532 as \'root\'\r\ndebug3: put_host_port: [127.0.0.1]:58532\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:NgaqRkTuy+VNefhT3g1B23J//RWXFtVr2gYKeq8QCok\r\ndebug3: put_host_port: [127.0.0.1]:58532\r\ndebug3: put_host_port: [127.0.0.1]:58532\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]:58532\' (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-key283380154 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-key283380154\r\ndebug3: sign_and_send_pubkey: RSA SHA256:oJJBYi/hsrNPotoGsp9kVmgy8QfLY9qbL/X3YHHau6A\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]:58532).\r\ndebug1: setting up multiplex master socket\r\ndebug3: muxserver_listen: temporary control path /Users/kevin/.ansible/cp/85b43f0ef9.iXfACJVZ6M8geljR\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/85b43f0ef9]\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 26307\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 = 26309\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-1570545946.766677-172798387899155 `" && echo ansible-tmp-1570545946.766677-172798387899155="` echo /tmp/${USER}/ansible/ansible-tmp-1570545946.766677-172798387899155 `" ) && 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-1570545946.766677-172798387899155 `" && echo ansible-tmp-1570545946.766677-172798387899155="` echo /tmp/${USER}/ansible/ansible-tmp-1570545946.766677-172798387899155 `" ) && 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: Received exit status from master 0\r\ndebug2: set_control_persist_exit_time: schedule exit in 60 seconds\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=58532 -o 'IdentityFile="/var/folders/tj/tshgns294mbd2qlh8zg4wj4m0000gp/T/ansible-key283380154"' -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/85b43f0ef9 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 = 26309\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=58532 -o 'IdentityFile="/var/folders/tj/tshgns294mbd2qlh8zg4wj4m0000gp/T/ansible-key283380154"' -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/85b43f0ef9 127.0.0.1 '/bin/sh -c '"'"'/usr/bin/python3.5 && sleep 0'"'"'' | |
amazon-ebs: <127.0.0.1> (0, b'{"platform_dist_result": ["Ubuntu", "16.04", "xenial"], "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"}\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 = 26309\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-26297fdq6w9u0/tmp8m694moo TO /tmp/ubuntu/ansible/ansible-tmp-1570545946.766677-172798387899155/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=58532 -o 'IdentityFile="/var/folders/tj/tshgns294mbd2qlh8zg4wj4m0000gp/T/ansible-key283380154"' -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/85b43f0ef9 /Users/kevin/.ansible/tmp/ansible-local-26297fdq6w9u0/tmp8m694moo '[127.0.0.1]:/tmp/ubuntu/ansible/ansible-tmp-1570545946.766677-172798387899155/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-1570545946.766677-172798387899155/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 = 26309\r\ndebug3: mux_client_request_session: session request sent\r\nSending file modes: C0600 252501 tmp8m694moo\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=58532 -o 'IdentityFile="/var/folders/tj/tshgns294mbd2qlh8zg4wj4m0000gp/T/ansible-key283380154"' -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/85b43f0ef9 127.0.0.1 '/bin/sh -c '"'"'chmod u+x /tmp/ubuntu/ansible/ansible-tmp-1570545946.766677-172798387899155/ /tmp/ubuntu/ansible/ansible-tmp-1570545946.766677-172798387899155/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 = 26309\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=58532 -o 'IdentityFile="/var/folders/tj/tshgns294mbd2qlh8zg4wj4m0000gp/T/ansible-key283380154"' -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/85b43f0ef9 -tt 127.0.0.1 '/bin/sh -c '"'"'/usr/bin/python3 /tmp/ubuntu/ansible/ansible-tmp-1570545946.766677-172798387899155/AnsiballZ_setup.py && sleep 0'"'"'' | |
amazon-ebs: <127.0.0.1> (0, b'\n{"ansible_facts": {"ansible_virtualization_type": "xen", "ansible_fqdn": "ip-172-31-29-74.ec2.internal", "ansible_system_vendor": "Xen", "ansible_default_ipv4": {"broadcast": "172.31.31.255", "network": "172.31.16.0", "address": "172.31.29.74", "gateway": "172.31.16.1", "alias": "eth0", "interface": "eth0", "macaddress": "0e:1a:ff:85:42:bc", "type": "ether", "netmask": "255.255.240.0", "mtu": 9001}, "ansible_processor_cores": 1, "ansible_memtotal_mb": 990, "ansible_swaptotal_mb": 0, "ansible_bios_version": "4.2.amazon", "ansible_local": {}, "ansible_system_capabilities": [""], "ansible_product_serial": "NA", "ansible_lsb": {"major_release": "16", "id": "Ubuntu", "release": "16.04", "description": "Ubuntu 16.04.6 LTS", "codename": "xenial"}, "ansible_python_version": "3.5.2", "ansible_product_name": "HVM domU", "ansible_ssh_host_key_dsa_public": "AAAAB3NzaC1kc3MAAACBANFKpBTyLrWf+2J2jOF0z1XyK6DeNHWBOueQAniY9vTGHuUUxFUkBQ4RoCh9lC2KuuI2m4SffhXUn8fbR2uHDN5XhjZEangAf8OFQ62ny3WrXHXpu8+tsAtCRFaQPWhVGba10LJJ0KB0GgD22wI8bSNcYg0JyyDomqyvOETzlBxDAAAAFQCq0bL0WWmG+pTQejA2PD3cJ9PYEQAAAIA+1R+R/iDh/O31q0jWBCBIGzFgg7K4fI0HewMZBjOSBSwLfNOeke1zpS/VclKiWTuG86VqJ/yVv6isXlWPm51ROmgGUQKC1HYnph9izE4dT1T7qk95jvssIoWZfKfFjXwQjwFknZk9KBoHTIFdSL5r/YHqvdxyT/7X5z3uZYkvOgAAAIEArRucUCEABD5aUZsbCISHZUx6YNbAcvNbH6YyMWkUD4MWeYoeM8KvexAO4pTxHh5caHfF+gBAKASEgnSscYmmNbnUGfnIi2Bcb+1rLOShhYKNwhwDwvSG268fFWGKxMRqVlZcPCfLZk1QsAEg9E7ClgIMLTBJBAnbsevFWX36RDA=", "ansible_userspace_bits": "64", "ansible_eth0": {"device": "eth0", "hw_timestamp_filters": [], "ipv6": [{"prefix": "64", "address": "fe80::c1a:ffff:fe85:42bc", "scope": "link"}], "module": "xen_netfront", "mtu": 9001, "active": true, "promisc": false, "timestamping": ["rx_software", "software"], "pciid": "vif-0", "macaddress": "0e:1a:ff:85:42:bc", "type": "ether", "ipv4": {"broadcast": "172.31.31.255", "netmask": "255.255.240.0", "address": "172.31.29.74", "network": "172.31.16.0"}, "features": {"receive_hashing": "off [fixed]", "netns_local": "off [fixed]", "tx_tcp6_segmentation": "on", "tx_vlan_offload": "off [fixed]", "tx_udp_tnl_segmentation": "off [fixed]", "rx_checksumming": "on [fixed]", "scatter_gather": "on", "busy_poll": "off [fixed]", "highdma": "off [fixed]", "tx_vlan_stag_hw_insert": "off [fixed]", "tcp_segmentation_offload": "on", "generic_segmentation_offload": "on", "generic_receive_offload": "on", "tx_checksum_sctp": "off [fixed]", "rx_all": "off [fixed]", "tx_scatter_gather_fraglist": "off [fixed]", "tx_tcp_segmentation": "on", "tx_ipip_segmentation": "off [fixed]", "udp_fragmentation_offload": "off [fixed]", "tx_checksum_ipv6": "on", "loopback": "off [fixed]", "tx_gre_segmentation": "off [fixed]", "l2_fwd_offload": "off [fixed]", "tx_checksum_ipv4": "on [fixed]", "rx_vlan_offload": "off [fixed]", "tx_fcoe_segmentation": "off [fixed]", "rx_vlan_stag_filter": "off [fixed]", "fcoe_mtu": "off [fixed]", "large_receive_offload": "off [fixed]", "hw_tc_offload": "off [fixed]", "tx_scatter_gather": "on", "tx_checksum_ip_generic": "off [fixed]", "tx_nocache_copy": "off", "rx_vlan_stag_hw_parse": "off [fixed]", "tx_checksumming": "on", "tx_sit_segmentation": "off [fixed]", "tx_tcp_ecn_segmentation": "off [fixed]", "tx_gso_robust": "on [fixed]", "vlan_challenged": "off [fixed]", "ntuple_filters": "off [fixed]", "tx_checksum_fcoe_crc": "off [fixed]", "tx_lockless": "off [fixed]", "rx_fcs": "off [fixed]", "rx_vlan_filter": "off [fixed]"}}, "ansible_memory_mb": {"real": {"total": 990, "used": 476, "free": 514}, "swap": {"total": 0, "free": 0, "used": 0, "cached": 0}, "nocache": {"free": 880, "used": 110}}, "ansible_selinux": {"status": "Missing selinux Python library"}, "ansible_all_ipv4_addresses": ["172.31.29.74"], "ansible_selinux_python_present": false, "ansible_all_ipv6_addresses": ["fe80::c1a:ffff:fe85:42bc"], "ansible_effective_user_id": 1000, "ansible_apparmor": {"status": "enabled"}, "ansible_distribution_version": "16.04", "ansible_user_id": "ubuntu", "ansible_user_gecos": "Ubuntu", "ansible_memfree_mb": 514, "ansible_date_time": {"iso8601_basic_short": "20191008T144550", "tz": "UTC", "day": "08", "year": "2019", "iso8601": "2019-10-08T14:45:50Z", "date": "2019-10-08", "second": "50", "iso8601_basic": "20191008T144550627926", "weekday": "Tuesday", "hour": "14", "time": "14:45:50", "weekday_number": "2", "minute": "45", "iso8601_micro": "2019-10-08T14:45:50.628066Z", "epoch": "1570545950", "month": "10", "tz_offset": "+0000", "weeknumber": "40"}, "ansible_user_gid": 1000, "ansible_mounts": [{"device": "/dev/xvda1", "mount": "/", "block_size": 4096, "block_available": 1766886, "uuid": "40b30022-ea7b-4dad-9558-edfc5f29533d", "inode_total": 1024000, "inode_available": 965909, "size_total": 8259014656, "size_available": 7237165056, "block_total": 2016361, "block_used": 249475, "inode_used": 58091, "fstype": "ext4", "options": "rw,relatime,discard,data=ordered"}, {"device": "/dev/loop1", "mount": "/snap/amazon-ssm-agent/1455", "block_size": 131072, "block_available": 0, "uuid": "N/A", "inode_total": 15, "inode_available": 0, "size_total": 18874368, "size_available": 0, "block_total": 144, "block_used": 144, "inode_used": 15, "fstype": "squashfs", "options": "ro,nodev,relatime"}, {"device": "/dev/loop0", "mount": "/snap/core/7396", "block_size": 131072, "block_available": 0, "uuid": "N/A", "inode_total": 12823, "inode_available": 0, "size_total": 93061120, "size_available": 0, "block_total": 710, "block_used": 710, "inode_used": 12823, "fstype": "squashfs", "options": "ro,nodev,relatime"}], "ansible_service_mgr": "systemd", "ansible_real_group_id": 1000, "ansible_machine": "x86_64", "ansible_env": {"XDG_SESSION_ID": "1", "MAIL": "/var/mail/ubuntu", "USER": "ubuntu", "XDG_RUNTIME_DIR": "/run/user/1000", "_": "/bin/sh", "PATH": "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games", "SSH_AUTH_SOCK": "/tmp/ssh-2KlUFlm2IM/agent.1421", "PWD": "/home/ubuntu", "SSH_CLIENT": "173.246.4.168 58408 22", "LOGNAME": "ubuntu", "SHELL": "/bin/bash", "SHLVL": "1", "HOME": "/home/ubuntu", "SSH_CONNECTION": "173.246.4.168 58408 172.31.29.74 22"}, "ansible_kernel": "4.4.0-1092-aws", "ansible_form_factor": "Other", "ansible_processor": ["0", "GenuineIntel", "Intel(R) Xeon(R) CPU E5-2676 v3 @ 2.40GHz"], "ansible_interfaces": ["eth0", "lo"], "ansible_dns": {"nameservers": ["172.31.0.2"], "search": ["ec2.internal"]}, "ansible_devices": {"ram14": {"rotational": "1", "host": "", "vendor": null, "sectors": "131072", "holders": [], "model": null, "scheduler_mode": "", "removable": "0", "links": {"uuids": [], "ids": [], "masters": [], "labels": []}, "size": "64.00 MB", "support_discard": "4096", "sas_device_handle": null, "partitions": {}, "sectorsize": "512", "virtual": 1, "sas_address": null}, "ram1": {"rotational": "1", "host": "", "vendor": null, "sectors": "131072", "holders": [], "model": null, "scheduler_mode": "", "removable": "0", "links": {"uuids": [], "ids": [], "masters": [], "labels": []}, "size": "64.00 MB", "support_discard": "4096", "sas_device_handle": null, "partitions": {}, "sectorsize": "512", "virtual": 1, "sas_address": null}, "ram12": {"rotational": "1", "host": "", "vendor": null, "sectors": "131072", "holders": [], "model": null, "scheduler_mode": "", "removable": "0", "links": {"uuids": [], "ids": [], "masters": [], "labels": []}, "size": "64.00 MB", "support_discard": "4096", "sas_device_handle": null, "partitions": {}, "sectorsize": "512", "virtual": 1, "sas_address": null}, "loop6": {"rotational": "1", "host": "", "vendor": null, "sectors": "0", "holders": [], "model": null, "scheduler_mode": "", "removable": "0", "links": {"uuids": [], "ids": [], "masters": [], "labels": []}, "size": "0.00 Bytes", "support_discard": "0", "sas_device_handle": null, "partitions": {}, "sectorsize": "512", "virtual": 1, "sas_address": null}, "loop2": {"rotational": "1", "host": "", "vendor": null, "sectors": "0", "holders": [], "model": null, "scheduler_mode": "", "removable": "0", "links": {"uuids": [], "ids": [], "masters": [], "labels": []}, "size": "0.00 Bytes", "support_discard": "0", "sas_device_handle": null, "partitions": {}, "sectorsize": "512", "virtual": 1, "sas_address": null}, "ram11": {"rotational": "1", "host": "", "vendor": null, "sectors": "131072", "holders": [], "model": null, "scheduler_mode": "", "removable": "0", "links": {"uuids": [], "ids": [], "masters": [], "labels": []}, "size": "64.00 MB", "support_discard": "4096", "sas_device_handle": null, "partitions": {}, "sectorsize": "512", "virtual": 1, "sas_address": null}, "ram13": {"rotational": "1", "host": "", "vendor": null, "sectors": "131072", "holders": [], "model": null, "scheduler_mode": "", "removable": "0", "links": {"uuids": [], "ids": [], "masters": [], "labels": []}, "size": "64.00 MB", "support_discard": "4096", "sas_device_handle": null, "partitions": {}, "sectorsize": "512", "virtual": 1, "sas_address": null}, "ram8": {"rotational": "1", "host": "", "vendor": null, "sectors": "131072", "holders": [], "model": null, "scheduler_mode": "", "removable": "0", "links": {"uuids": [], "ids": [], "masters": [], "labels": []}, "size": "64.00 MB", "support_discard": "4096", "sas_device_handle": null, "partitions": {}, "sectorsize": "512", "virtual": 1, "sas_address": null}, "loop0": {"rotational": "1", "host": "", "vendor": null, "sectors": "181608", "holders": [], "model": null, "scheduler_mode": "", "removable": "0", "links": {"uuids": [], "ids": [], "masters": [], "labels": []}, "size": "88.68 MB", "support_discard": "4096", "sas_device_handle": null, "partitions": {}, "sectorsize": "512", "virtual": 1, "sas_address": null}, "ram0": {"rotational": "1", "host": "", "vendor": null, "sectors": "131072", "holders": [], "model": null, "scheduler_mode": "", "removable": "0", "links": {"uuids": [], "ids": [], "masters": [], "labels": []}, "size": "64.00 MB", "support_discard": "4096", "sas_device_handle": null, "partitions": {}, "sectorsize": "512", "virtual": 1, "sas_address": null}, "ram5": {"rotational": "1", "host": "", "vendor": null, "sectors": "131072", "holders": [], "model": null, "scheduler_mode": "", "removable": "0", "links": {"uuids": [], "ids": [], "masters": [], "labels": []}, "size": "64.00 MB", "support_discard": "4096", "sas_device_handle": null, "partitions": {}, "sectorsize": "512", "virtual": 1, "sas_address": null}, "ram9": {"rotational": "1", "host": "", "vendor": null, "sectors": "131072", "holders": [], "model": null, "scheduler_mode": "", "removable": "0", "links": {"uuids": [], "ids": [], "masters": [], "labels": []}, "size": "64.00 MB", "support_discard": "4096", "sas_device_handle": null, "partitions": {}, "sectorsize": "512", "virtual": 1, "sas_address": null}, "loop4": {"rotational": "1", "host": "", "vendor": null, "sectors": "0", "holders": [], "model": null, "scheduler_mode": "", "removable": "0", "links": {"uuids": [], "ids": [], "masters": [], "labels": []}, "size": "0.00 Bytes", "support_discard": "0", "sas_device_handle": null, "partitions": {}, "sectorsize": "512", "virtual": 1, "sas_address": null}, "ram15": {"rotational": "1", "host": "", "vendor": null, "sectors": "131072", "holders": [], "model": null, "scheduler_mode": "", "removable": "0", "links": {"uuids": [], "ids": [], "masters": [], "labels": []}, "size": "64.00 MB", "support_discard": "4096", "sas_device_handle": null, "partitions": {}, "sectorsize": "512", "virtual": 1, "sas_address": null}, "loop5": {"rotational": "1", "host": "", "vendor": null, "sectors": "0", "holders": [], "model": null, "scheduler_mode": "", "removable": "0", "links": {"uuids": [], "ids": [], "masters": [], "labels": []}, "size": "0.00 Bytes", "support_discard": "0", "sas_device_handle": null, "partitions": {}, "sectorsize": "512", "virtual": 1, "sas_address": null}, "ram7": {"rotational": "1", "host": "", "vendor": null, "sectors": "131072", "holders": [], "model": null, "scheduler_mode": "", "removable": "0", "links": {"uuids": [], "ids": [], "masters": [], "labels": []}, "size": "64.00 MB", "support_discard": "4096", "sas_device_handle": null, "partitions": {}, "sectorsize": "512", "virtual": 1, "sas_address": null}, "loop7": {"rotational": "1", "host": "", "vendor": null, "sectors": "0", "holders": [], "model": null, "scheduler_mode": "", "removable": "0", "links": {"uuids": [], "ids": [], "masters": [], "labels": []}, "size": "0.00 Bytes", "support_discard": "0", "sas_device_handle": null, "partitions": {}, "sectorsize": "512", "virtual": 1, "sas_address": null}, "loop1": {"rotational": "1", "host": "", "vendor": null, "sectors": "36808", "holders": [], "model": null, "scheduler_mode": "", "removable": "0", "links": {"uuids": [], "ids": [], "masters": [], "labels": []}, "size": "17.97 MB", "support_discard": "4096", "sas_device_handle": null, "partitions": {}, "sectorsize": "512", "virtual": 1, "sas_address": null}, "ram2": {"rotational": "1", "host": "", "vendor": null, "sectors": "131072", "holders": [], "model": null, "scheduler_mode": "", "removable": "0", "links": {"uuids": [], "ids": [], "masters": [], "labels": []}, "size": "64.00 MB", "support_discard": "4096", "sas_device_handle": null, "partitions": {}, "sectorsize": "512", "virtual": 1, "sas_address": null}, "ram6": {"rotational": "1", "host": "", "vendor": null, "sectors": "131072", "holders": [], "model": null, "scheduler_mode": "", "removable": "0", "links": {"uuids": [], "ids": [], "masters": [], "labels": []}, "size": "64.00 MB", "support_discard": "4096", "sas_device_handle": null, "partitions": {}, "sectorsize": "512", "virtual": 1, "sas_address": null}, "loop3": {"rotational": "1", "host": "", "vendor": null, "sectors": "0", "holders": [], "model": null, "scheduler_mode": "", "removable": "0", "links": {"uuids": [], "ids": [], "masters": [], "labels": []}, "size": "0.00 Bytes", "support_discard": "0", "sas_device_handle": null, "partitions": {}, "sectorsize": "512", "virtual": 1, "sas_address": null}, "ram4": {"rotational": "1", "host": "", "vendor": null, "sectors": "131072", "holders": [], "model": null, "scheduler_mode": "", "removable": "0", "links": {"uuids": [], "ids": [], "masters": [], "labels": []}, "size": "64.00 MB", "support_discard": "4096", "sas_device_handle": null, "partitions": {}, "sectorsize": "512", "virtual": 1, "sas_address": null}, "xvda": {"rotational": "0", "host": "", "vendor": null, "sectors": "16777216", "holders": [], "model": null, "scheduler_mode": "deadline", "removable": "0", "links": {"uuids": [], "ids": [], "masters": [], "labels": []}, "size": "8.00 GB", "support_discard": "0", "sas_device_handle": null, "partitions": {"xvda1": {"sectors": "16775135", "links": {"uuids": ["40b30022-ea7b-4dad-9558-edfc5f29533d"], "ids": [], "masters": [], "labels": ["cloudimg-rootfs"]}, "size": "8.00 GB", "holders": [], "start": "2048", "uuid": "40b30022-ea7b-4dad-9558-edfc5f29533d", "sectorsize": 512}}, "sectorsize": "512", "virtual": 1, "sas_address": null}, "ram10": {"rotational": "1", "host": "", "vendor": null, "sectors": "131072", "holders": [], "model": null, "scheduler_mode": "", "removable": "0", "links": {"uuids": [], "ids": [], "masters": [], "labels": []}, "size": "64.00 MB", "support_discard": "4096", "sas_device_handle": null, "partitions": {}, "sectorsize": "512", "virtual": 1, "sas_address": null}, "ram3": {"rotational": "1", "host": "", "vendor": null, "sectors": "131072", "holders": [], "model": null, "scheduler_mode": "", "removable": "0", "links": {"uuids": [], "ids": [], "masters": [], "labels": []}, "size": "64.00 MB", "support_discard": "4096", "sas_device_handle": null, "partitions": {}, "sectorsize": "512", "virtual": 1, "sas_address": null}}, "ansible_product_uuid": "NA", "ansible_uptime_seconds": 102, "ansible_swapfree_mb": 0, "ansible_real_user_id": 1000, "ansible_virtualization_role": "guest", "ansible_cmdline": {"nvme_core.io_timeout": "4294967295", "BOOT_IMAGE": "/boot/vmlinuz-4.4.0-1092-aws", "nvme.io_timeout": "4294967295", "root": "LABEL=cloudimg-rootfs", "console": "ttyS0", "ro": true}, "ansible_fibre_channel_wwn": [], "ansible_distribution_file_variety": "Debian", "ansible_architecture": "x86_64", "ansible_nodename": "ip-172-31-29-74", "ansible_ssh_host_key_rsa_public": "AAAAB3NzaC1yc2EAAAADAQABAAABAQDLS3NHUEpr/EPQhO1RMNaSwgSxo6uFbvxy7NS+qicRbCbWxQyFNGxjSdWxeuRhdYXb2OzrjroaxqxMu2TwXmp5j07G21vMkmSOQGMJgszomQm9XwOWwDSflX20wkIGhBBSbB8A2IBoVGYW2DmU7bZGYc99k0AMGjS8UbFGQi6l09+DzjSRDDfyiR5nxJjDjGvKUZ7X76Vz6J6/pulWx+Sj6FUu1AC7d9aiUOmSsAsTOKs7cycrDSkvu0Ivd/lafsXFvcj3FGIQwLxH1BoFqIM6thsUp7rV3fTRHelwbM9KMMGz9cBzB8BTRjhWucGiuIFc0kvBXzbIfWIHGzaYCwn/", "ansible_fips": false, "ansible_userspace_architecture": "x86_64", "ansible_bios_date": "08/24/2006", "ansible_hostname": "ip-172-31-29-74", "ansible_is_chroot": false, "ansible_user_uid": 1000, "ansible_iscsi_iqn": "", "ansible_python": {"executable": "/usr/bin/python3", "version_info": [3, 5, 2, "final", 0], "type": "cpython", "has_sslcontext": true, "version": {"major": 3, "micro": 2, "releaselevel": "final", "serial": 0, "minor": 5}}, "ansible_lo": {"active": true, "device": "lo", "hw_timestamp_filters": [], "features": {"receive_hashing": "off [fixed]", "netns_local": "on [fixed]", "tx_tcp6_segmentation": "on", "tx_vlan_offload": "off [fixed]", "tx_udp_tnl_segmentation": "off [fixed]", "rx_checksumming": "on [fixed]", "scatter_gather": "on", "busy_poll": "off [fixed]", "highdma": "on [fixed]", "tx_vlan_stag_hw_insert": "off [fixed]", "tcp_segmentation_offload": "on", "generic_segmentation_offload": "on", "generic_receive_offload": "on", "tx_checksum_sctp": "on [fixed]", "rx_all": "off [fixed]", "tx_scatter_gather_fraglist": "on [fixed]", "tx_tcp_segmentation": "on", "tx_ipip_segmentation": "off [fixed]", "udp_fragmentation_offload": "on", "tx_checksum_ipv6": "off [fixed]", "loopback": "on [fixed]", "tx_gre_segmentation": "off [fixed]", "l2_fwd_offload": "off [fixed]", "tx_checksum_ipv4": "off [fixed]", "rx_vlan_offload": "off [fixed]", "tx_fcoe_segmentation": "off [fixed]", "rx_vlan_stag_filter": "off [fixed]", "fcoe_mtu": "off [fixed]", "large_receive_offload": "off [fixed]", "hw_tc_offload": "off [fixed]", "tx_scatter_gather": "on [fixed]", "tx_checksum_ip_generic": "on [fixed]", "tx_nocache_copy": "off [fixed]", "rx_vlan_stag_hw_parse": "off [fixed]", "tx_checksumming": "on", "tx_sit_segmentation": "off [fixed]", "tx_tcp_ecn_segmentation": "on", "tx_gso_robust": "off [fixed]", "vlan_challenged": "on [fixed]", "ntuple_filters": "off [fixed]", "tx_checksum_fcoe_crc": "off [fixed]", "tx_lockless": "on [fixed]", "rx_fcs": "off [fixed]", "rx_vlan_filter": "off [fixed]"}, "ipv6": [{"prefix": "128", "address": "::1", "scope": "host"}], "timestamping": ["rx_software", "software"], "type": "loopback", "mtu": 65536, "ipv4": {"broadcast": "host", "netmask": "255.0.0.0", "address": "127.0.0.1", "network": "127.0.0.0"}, "promisc": false}, "ansible_os_family": "Debian", "ansible_distribution_major_version": "16", "ansible_machine_id": "bad436a63fb2484f845376bf5f95e0cd", "ansible_ssh_host_key_ed25519_public": "AAAAC3NzaC1lZDI1NTE5AAAAIBkopr/GNiTnPE1gIIDz15fZMT2Lok7HA3YmEIh/HV+E", "gather_subset": ["all"], "ansible_product_version": "4.2.amazon", "ansible_domain": "ec2.internal", "ansible_proc_cmdline": {"nvme_core.io_timeout": "4294967295", "BOOT_IMAGE": "/boot/vmlinuz-4.4.0-1092-aws", "nvme.io_timeout": "4294967295", "root": "LABEL=cloudimg-rootfs", "console": ["tty1", "ttyS0"], "ro": true}, "ansible_pkg_mgr": "apt", "ansible_user_dir": "/home/ubuntu", "ansible_system": "Linux", "ansible_system_capabilities_enforced": "True", "ansible_processor_count": 1, "module_setup": true, "ansible_effective_group_id": 1000, "ansible_device_links": {"uuids": {"xvda1": ["40b30022-ea7b-4dad-9558-edfc5f29533d"]}, "labels": {"xvda1": ["cloudimg-rootfs"]}, "masters": {}, "ids": {}}, "ansible_processor_threads_per_core": 1, "ansible_processor_vcpus": 1, "ansible_user_shell": "/bin/bash", "ansible_distribution_file_path": "/etc/os-release", "ansible_distribution": "Ubuntu", "ansible_distribution_file_parsed": true, "ansible_hostnqn": "", "ansible_ssh_host_key_ecdsa_public": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBHNIIr4q6Z4ObYYVRtCsfxSZLoNywfU4yS3QxpYomQ9upM7NU7XJYcsnivyf6NIdr1ewzoIsdr2lURw/M5c6RtA=", "ansible_distribution_release": "xenial", "ansible_default_ipv6": {}}, "invocation": {"module_args": {"gather_subset": ["all"], "gather_timeout": 10, "fact_path": "/etc/ansible/facts.d", "filter": "*"}}}\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 = 26309\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=58532 -o 'IdentityFile="/var/folders/tj/tshgns294mbd2qlh8zg4wj4m0000gp/T/ansible-key283380154"' -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/85b43f0ef9 127.0.0.1 '/bin/sh -c '"'"'rm -f -r /tmp/ubuntu/ansible/ansible-tmp-1570545946.766677-172798387899155/ > /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 = 26309\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/tmpim1nN6deploy_packer/files/playbook_master.json:6 | |
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=58532 -o 'IdentityFile="/var/folders/tj/tshgns294mbd2qlh8zg4wj4m0000gp/T/ansible-key283380154"' -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/85b43f0ef9 127.0.0.1 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /tmp/${USER}/ansible/ansible-tmp-1570545951.199845-227303202751856 `" && echo ansible-tmp-1570545951.199845-227303202751856="` echo /tmp/${USER}/ansible/ansible-tmp-1570545951.199845-227303202751856 `" ) && sleep 0'"'"'' | |
amazon-ebs: <127.0.0.1> (0, b'ansible-tmp-1570545951.199845-227303202751856=/tmp/ubuntu/ansible/ansible-tmp-1570545951.199845-227303202751856\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 = 26309\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-26297fdq6w9u0/tmpm4ctredx TO /tmp/ubuntu/ansible/ansible-tmp-1570545951.199845-227303202751856/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=58532 -o 'IdentityFile="/var/folders/tj/tshgns294mbd2qlh8zg4wj4m0000gp/T/ansible-key283380154"' -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/85b43f0ef9 /Users/kevin/.ansible/tmp/ansible-local-26297fdq6w9u0/tmpm4ctredx '[127.0.0.1]:/tmp/ubuntu/ansible/ansible-tmp-1570545951.199845-227303202751856/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-1570545951.199845-227303202751856/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 = 26309\r\ndebug3: mux_client_request_session: session request sent\r\nSending file modes: C0600 105349 tmpm4ctredx\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=58532 -o 'IdentityFile="/var/folders/tj/tshgns294mbd2qlh8zg4wj4m0000gp/T/ansible-key283380154"' -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/85b43f0ef9 127.0.0.1 '/bin/sh -c '"'"'chmod u+x /tmp/ubuntu/ansible/ansible-tmp-1570545951.199845-227303202751856/ /tmp/ubuntu/ansible/ansible-tmp-1570545951.199845-227303202751856/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 = 26309\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=58532 -o 'IdentityFile="/var/folders/tj/tshgns294mbd2qlh8zg4wj4m0000gp/T/ansible-key283380154"' -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/85b43f0ef9 -tt 127.0.0.1 '/bin/sh -c '"'"'/usr/bin/python3 /tmp/ubuntu/ansible/ansible-tmp-1570545951.199845-227303202751856/AnsiballZ_command.py && sleep 0'"'"'' | |
amazon-ebs: <127.0.0.1> (0, b'\n{"stdout": "", "delta": "0:01:30.003351", "end": "2019-10-08 14:47:22.558590", "changed": true, "start": "2019-10-08 14:45:52.555239", "rc": 0, "stderr": "", "cmd": ["/bin/sleep", "90"], "invocation": {"module_args": {"creates": null, "executable": null, "stdin_add_newline": true, "warn": true, "_raw_params": "/bin/sleep 90", "argv": null, "removes": null, "_uses_shell": false, "chdir": null, "stdin": null, "strip_empty_ends": 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 = 26309\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=58532 -o 'IdentityFile="/var/folders/tj/tshgns294mbd2qlh8zg4wj4m0000gp/T/ansible-key283380154"' -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/85b43f0ef9 127.0.0.1 '/bin/sh -c '"'"'rm -f -r /tmp/ubuntu/ansible/ansible-tmp-1570545951.199845-227303202751856/ > /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 = 26309\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.003351", | |
amazon-ebs: "end": "2019-10-08 14:47:22.558590", | |
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:45:52.555239", | |
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/tmpim1nN6deploy_packer/files/playbook_master.json:11 | |
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=58532 -o 'IdentityFile="/var/folders/tj/tshgns294mbd2qlh8zg4wj4m0000gp/T/ansible-key283380154"' -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/85b43f0ef9 127.0.0.1 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /tmp/${USER}/ansible/ansible-tmp-1570546043.107703-64866562925824 `" && echo ansible-tmp-1570546043.107703-64866562925824="` echo /tmp/${USER}/ansible/ansible-tmp-1570546043.107703-64866562925824 `" ) && sleep 0'"'"'' | |
amazon-ebs: <127.0.0.1> (0, b'ansible-tmp-1570546043.107703-64866562925824=/tmp/ubuntu/ansible/ansible-tmp-1570546043.107703-64866562925824\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 = 26309\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-26297fdq6w9u0/tmpykvj3mec TO /tmp/ubuntu/ansible/ansible-tmp-1570546043.107703-64866562925824/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=58532 -o 'IdentityFile="/var/folders/tj/tshgns294mbd2qlh8zg4wj4m0000gp/T/ansible-key283380154"' -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/85b43f0ef9 /Users/kevin/.ansible/tmp/ansible-local-26297fdq6w9u0/tmpykvj3mec '[127.0.0.1]:/tmp/ubuntu/ansible/ansible-tmp-1570546043.107703-64866562925824/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-1570546043.107703-64866562925824/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 = 26309\r\ndebug3: mux_client_request_session: session request sent\r\nSending file modes: C0600 105362 tmpykvj3mec\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=58532 -o 'IdentityFile="/var/folders/tj/tshgns294mbd2qlh8zg4wj4m0000gp/T/ansible-key283380154"' -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/85b43f0ef9 127.0.0.1 '/bin/sh -c '"'"'chmod u+x /tmp/ubuntu/ansible/ansible-tmp-1570546043.107703-64866562925824/ /tmp/ubuntu/ansible/ansible-tmp-1570546043.107703-64866562925824/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 = 26309\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=58532 -o 'IdentityFile="/var/folders/tj/tshgns294mbd2qlh8zg4wj4m0000gp/T/ansible-key283380154"' -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/85b43f0ef9 -tt 127.0.0.1 '/bin/sh -c '"'"'/usr/bin/python3 /tmp/ubuntu/ansible/ansible-tmp-1570546043.107703-64866562925824/AnsiballZ_command.py && sleep 0'"'"'' | |
amazon-ebs: <127.0.0.1> (0, b'\n{"stderr": "", "invocation": {"module_args": {"warn": true, "stdin": null, "strip_empty_ends": true, "_uses_shell": true, "_raw_params": "ps aux", "chdir": null, "stdin_add_newline": true, "argv": null, "creates": null, "removes": null, "executable": null}}, "end": "2019-10-08 14:47:25.356345", "changed": true, "rc": 0, "delta": "0:00:00.015359", "start": "2019-10-08 14:47:25.340986", "stdout": "USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND\\nroot 1 1.6 0.5 37704 5712 ? Ss 14:44 0:03 /sbin/init\\nroot 2 0.0 0.0 0 0 ? S 14:44 0:00 [kthreadd]\\nroot 3 0.0 0.0 0 0 ? S 14:44 0:00 [ksoftirqd/0]\\nroot 4 0.0 0.0 0 0 ? S 14:44 0:00 [kworker/0:0]\\nroot 5 0.0 0.0 0 0 ? S< 14:44 0:00 [kworker/0:0H]\\nroot 6 0.0 0.0 0 0 ? S 14:44 0:00 [kworker/u30:0]\\nroot 7 0.1 0.0 0 0 ? S 14:44 0:00 [rcu_sched]\\nroot 8 0.0 0.0 0 0 ? S 14:44 0:00 [rcu_bh]\\nroot 9 0.0 0.0 0 0 ? S 14:44 0:00 [migration/0]\\nroot 10 0.0 0.0 0 0 ? S 14:44 0:00 [watchdog/0]\\nroot 11 0.0 0.0 0 0 ? S 14:44 0:00 [kdevtmpfs]\\nroot 12 0.0 0.0 0 0 ? S< 14:44 0:00 [netns]\\nroot 13 0.0 0.0 0 0 ? S< 14:44 0:00 [perf]\\nroot 14 0.0 0.0 0 0 ? S 14:44 0:00 [xenwatch]\\nroot 15 0.0 0.0 0 0 ? S 14:44 0:00 [xenbus]\\nroot 16 0.0 0.0 0 0 ? S 14:44 0:00 [kworker/0:1]\\nroot 17 0.0 0.0 0 0 ? S 14:44 0:00 [khungtaskd]\\nroot 18 0.0 0.0 0 0 ? S< 14:44 0:00 [writeback]\\nroot 19 0.0 0.0 0 0 ? SN 14:44 0:00 [ksmd]\\nroot 20 0.0 0.0 0 0 ? SN 14:44 0:00 [khugepaged]\\nroot 21 0.0 0.0 0 0 ? S< 14:44 0:00 [crypto]\\nroot 22 0.0 0.0 0 0 ? S< 14:44 0:00 [kintegrityd]\\nroot 23 0.0 0.0 0 0 ? S< 14:44 0:00 [bioset]\\nroot 24 0.0 0.0 0 0 ? S< 14:44 0:00 [kblockd]\\nroot 25 0.0 0.0 0 0 ? S< 14:44 0:00 [ata_sff]\\nroot 26 0.0 0.0 0 0 ? S< 14:44 0:00 [md]\\nroot 27 0.0 0.0 0 0 ? S< 14:44 0:00 [devfreq_wq]\\nroot 28 0.0 0.0 0 0 ? S 14:44 0:00 [kworker/u30:1]\\nroot 30 0.0 0.0 0 0 ? S 14:44 0:00 [kswapd0]\\nroot 31 0.0 0.0 0 0 ? S< 14:44 0:00 [vmstat]\\nroot 32 0.0 0.0 0 0 ? S 14:44 0:00 [fsnotify_mark]\\nroot 33 0.0 0.0 0 0 ? S 14:44 0:00 [ecryptfs-kthrea]\\nroot 49 0.0 0.0 0 0 ? S< 14:44 0:00 [kthrotld]\\nroot 50 0.0 0.0 0 0 ? S< 14:44 0:00 [bioset]\\nroot 51 0.0 0.0 0 0 ? S< 14:44 0:00 [bioset]\\nroot 52 0.0 0.0 0 0 ? S< 14:44 0:00 [bioset]\\nroot 53 0.0 0.0 0 0 ? S< 14:44 0:00 [bioset]\\nroot 54 0.0 0.0 0 0 ? S< 14:44 0:00 [bioset]\\nroot 55 0.0 0.0 0 0 ? S< 14:44 0:00 [bioset]\\nroot 56 0.0 0.0 0 0 ? S< 14:44 0:00 [bioset]\\nroot 57 0.0 0.0 0 0 ? S< 14:44 0:00 [bioset]\\nroot 58 0.0 0.0 0 0 ? S< 14:44 0:00 [bioset]\\nroot 59 0.0 0.0 0 0 ? S< 14:44 0:00 [bioset]\\nroot 60 0.0 0.0 0 0 ? S< 14:44 0:00 [bioset]\\nroot 61 0.0 0.0 0 0 ? S< 14:44 0:00 [bioset]\\nroot 62 0.0 0.0 0 0 ? S< 14:44 0:00 [bioset]\\nroot 63 0.0 0.0 0 0 ? S< 14:44 0:00 [bioset]\\nroot 64 0.0 0.0 0 0 ? S< 14:44 0:00 [bioset]\\nroot 65 0.0 0.0 0 0 ? S< 14:44 0:00 [bioset]\\nroot 66 0.0 0.0 0 0 ? S< 14:44 0:00 [bioset]\\nroot 67 0.0 0.0 0 0 ? S< 14:44 0:00 [bioset]\\nroot 68 0.0 0.0 0 0 ? S< 14:44 0:00 [bioset]\\nroot 69 0.0 0.0 0 0 ? S< 14:44 0:00 [bioset]\\nroot 70 0.0 0.0 0 0 ? S< 14:44 0:00 [bioset]\\nroot 71 0.0 0.0 0 0 ? S< 14:44 0:00 [bioset]\\nroot 72 0.0 0.0 0 0 ? S< 14:44 0:00 [bioset]\\nroot 73 0.0 0.0 0 0 ? S< 14:44 0:00 [bioset]\\nroot 74 0.0 0.0 0 0 ? S< 14:44 0:00 [nvme]\\nroot 75 0.0 0.0 0 0 ? S 14:44 0:00 [scsi_eh_0]\\nroot 76 0.0 0.0 0 0 ? S< 14:44 0:00 [scsi_tmf_0]\\nroot 77 0.0 0.0 0 0 ? S 14:44 0:00 [scsi_eh_1]\\nroot 78 0.0 0.0 0 0 ? S< 14:44 0:00 [scsi_tmf_1]\\nroot 79 0.0 0.0 0 0 ? S 14:44 0:00 [kworker/u30:2]\\nroot 83 0.0 0.0 0 0 ? S< 14:44 0:00 [ipv6_addrconf]\\nroot 85 0.0 0.0 0 0 ? S< 14:44 0:00 [bioset]\\nroot 97 0.0 0.0 0 0 ? S< 14:44 0:00 [deferwq]\\nroot 259 0.0 0.0 0 0 ? S< 14:44 0:00 [raid5wq]\\nroot 290 0.0 0.0 0 0 ? S< 14:44 0:00 [bioset]\\nroot 311 0.0 0.0 0 0 ? S 14:44 0:00 [jbd2/xvda1-8]\\nroot 312 0.0 0.0 0 0 ? S< 14:44 0:00 [ext4-rsv-conver]\\nroot 372 0.0 0.0 0 0 ? S 14:44 0:00 [kworker/0:2]\\nroot 385 0.4 0.2 28348 2688 ? Ss 14:44 0:00 /lib/systemd/systemd-journald\\nroot 406 0.0 0.0 0 0 ? S< 14:44 0:00 [iscsi_eh]\\nroot 407 0.0 0.0 0 0 ? S< 14:44 0:00 [ib_addr]\\nroot 408 0.0 0.0 0 0 ? S 14:44 0:00 [kauditd]\\nroot 411 0.0 0.0 0 0 ? S< 14:44 0:00 [ib_mcast]\\nroot 412 0.0 0.0 0 0 ? S< 14:44 0:00 [ib_nl_sa_wq]\\nroot 415 0.0 0.0 0 0 ? S< 14:44 0:00 [ib_cm]\\nroot 416 0.0 0.0 0 0 ? S< 14:44 0:00 [iw_cm_wq]\\nroot 417 0.0 0.0 0 0 ? S< 14:44 0:00 [rdma_cm]\\nroot 420 0.0 0.0 0 0 ? S 14:44 0:00 [kworker/0:3]\\nroot 447 0.0 0.1 94772 1516 ? Ss 14:44 0:00 /sbin/lvmetad -f\\nroot 473 0.0 0.4 42812 4204 ? Ss 14:44 0:00 /lib/systemd/systemd-udevd\\nsystemd+ 554 0.0 0.2 100324 2560 ? Ssl 14:44 0:00 /lib/systemd/systemd-timesyncd\\nroot 594 0.0 0.0 0 0 ? S< 14:44 0:00 [kworker/0:1H]\\nroot 918 0.0 0.0 16000 852 ? Ss 14:44 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 1064 0.0 0.2 26068 2524 ? Ss 14:44 0:00 /usr/sbin/cron -f\\nroot 1066 0.0 0.1 95368 1448 ? Ssl 14:44 0:00 /usr/bin/lxcfs /var/lib/lxcfs/\\nroot 1083 0.0 0.3 28544 3076 ? Ss 14:44 0:00 /lib/systemd/systemd-logind\\nmessage+ 1086 0.0 0.3 42900 3760 ? Ss 14:44 0:00 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation\\ndaemon 1101 0.0 0.2 26044 2252 ? Ss 14:44 0:00 /usr/sbin/atd -f\\nroot 1113 0.0 0.5 272944 5928 ? Ssl 14:44 0:00 /usr/lib/accountsservice/accounts-daemon\\nsyslog 1125 0.0 0.3 260628 3392 ? Ssl 14:44 0:00 /usr/sbin/rsyslogd -n\\nroot 1132 0.0 0.1 4396 1308 ? Ss 14:44 0:00 /usr/sbin/acpid\\nroot 1149 0.0 0.0 5220 148 ? Ss 14:44 0:00 /sbin/iscsid\\nroot 1150 0.0 0.3 5720 3508 ? S<Ls 14:44 0:00 /sbin/iscsid\\nroot 1164 0.0 0.0 13372 160 ? Ss 14:44 0:00 /sbin/mdadm --monitor --pid-file /run/mdadm/monitor.pid --daemonise --scan --syslog\\nroot 1169 0.0 1.9 171712 19292 ? Ssl 14:44 0:00 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal\\nroot 1172 0.0 0.5 277180 6068 ? Ssl 14:44 0:00 /usr/lib/policykit-1/polkitd --no-debug\\nroot 1251 0.0 0.1 14656 1792 tty1 Ss+ 14:44 0:00 /sbin/agetty --noclear tty1 linux\\nroot 1264 0.0 0.1 12840 1740 ttyS0 Ss+ 14:44 0:00 /sbin/agetty --keep-baud 115200 38400 9600 ttyS0 vt220\\nroot 1301 0.0 0.5 65512 5320 ? Ss 14:44 0:00 /usr/sbin/sshd -D\\nroot 1323 0.0 0.6 92800 6700 ? Ss 14:44 0:00 sshd: ubuntu [priv]\\nubuntu 1325 0.0 0.4 45156 4720 ? Ss 14:44 0:00 /lib/systemd/systemd --user\\nubuntu 1327 0.0 0.1 61280 1976 ? S 14:44 0:00 (sd-pam)\\nubuntu 1421 0.0 0.4 92916 4200 ? S 14:44 0:00 sshd: ubuntu@notty\\nroot 1502 0.0 0.0 0 0 ? S< 14:44 0:00 [loop0]\\nroot 1607 0.3 2.2 517780 23008 ? Ssl 14:44 0:00 /usr/lib/snapd/snapd\\nroot 1738 0.0 0.0 0 0 ? S< 14:44 0:00 [loop1]\\nroot 1805 0.3 1.3 272232 13368 ? Ssl 14:44 0:00 /snap/amazon-ssm-agent/1455/amazon-ssm-agent\\nubuntu 1981 0.0 0.0 4504 784 ? Ss 14:47 0:00 /bin/sh -c /usr/bin/python3 /tmp/ubuntu/ansible/ansible-tmp-1570546043.107703-64866562925824/AnsiballZ_command.py && sleep 0\\nubuntu 1982 0.0 1.7 71428 17776 ? S 14:47 0:00 /usr/bin/python3 /tmp/ubuntu/ansible/ansible-tmp-1570546043.107703-64866562925824/AnsiballZ_command.py\\nubuntu 1984 0.0 0.0 4504 776 ? S 14:47 0:00 /bin/sh -c ps aux\\nubuntu 1985 0.0 0.2 34424 2784 ? R 14:47 0:00 ps aux", "cmd": "ps aux"}\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 = 26309\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=58532 -o 'IdentityFile="/var/folders/tj/tshgns294mbd2qlh8zg4wj4m0000gp/T/ansible-key283380154"' -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/85b43f0ef9 127.0.0.1 '/bin/sh -c '"'"'rm -f -r /tmp/ubuntu/ansible/ansible-tmp-1570546043.107703-64866562925824/ > /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 = 26309\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.015359", | |
amazon-ebs: "end": "2019-10-08 14:47:25.356345", | |
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:47:25.340986", | |
amazon-ebs: "stderr": "", | |
amazon-ebs: "stderr_lines": [], | |
amazon-ebs: "stdout": "USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND\nroot 1 1.6 0.5 37704 5712 ? Ss 14:44 0:03 /sbin/init\nroot 2 0.0 0.0 0 0 ? S 14:44 0:00 [kthreadd]\nroot 3 0.0 0.0 0 0 ? S 14:44 0:00 [ksoftirqd/0]\nroot 4 0.0 0.0 0 0 ? S 14:44 0:00 [kworker/0:0]\nroot 5 0.0 0.0 0 0 ? S< 14:44 0:00 [kworker/0:0H]\nroot 6 0.0 0.0 0 0 ? S 14:44 0:00 [kworker/u30:0]\nroot 7 0.1 0.0 0 0 ? S 14:44 0:00 [rcu_sched]\nroot 8 0.0 0.0 0 0 ? S 14:44 0:00 [rcu_bh]\nroot 9 0.0 0.0 0 0 ? S 14:44 0:00 [migration/0]\nroot 10 0.0 0.0 0 0 ? S 14:44 0:00 [watchdog/0]\nroot 11 0.0 0.0 0 0 ? S 14:44 0:00 [kdevtmpfs]\nroot 12 0.0 0.0 0 0 ? S< 14:44 0:00 [netns]\nroot 13 0.0 0.0 0 0 ? S< 14:44 0:00 [perf]\nroot 14 0.0 0.0 0 0 ? S 14:44 0:00 [xenwatch]\nroot 15 0.0 0.0 0 0 ? S 14:44 0:00 [xenbus]\nroot 16 0.0 0.0 0 0 ? S 14:44 0:00 [kworker/0:1]\nroot 17 0.0 0.0 0 0 ? S 14:44 0:00 [khungtaskd]\nroot 18 0.0 0.0 0 0 ? S< 14:44 0:00 [writeback]\nroot 19 0.0 0.0 0 0 ? SN 14:44 0:00 [ksmd]\nroot 20 0.0 0.0 0 0 ? SN 14:44 0:00 [khugepaged]\nroot 21 0.0 0.0 0 0 ? S< 14:44 0:00 [crypto]\nroot 22 0.0 0.0 0 0 ? S< 14:44 0:00 [kintegrityd]\nroot 23 0.0 0.0 0 0 ? S< 14:44 0:00 [bioset]\nroot 24 0.0 0.0 0 0 ? S< 14:44 0:00 [kblockd]\nroot 25 0.0 0.0 0 0 ? S< 14:44 0:00 [ata_sff]\nroot 26 0.0 0.0 0 0 ? S< 14:44 0:00 [md]\nroot 27 0.0 0.0 0 0 ? S< 14:44 0:00 [devfreq_wq]\nroot 28 0.0 0.0 0 0 ? S 14:44 0:00 [kworker/u30:1]\nroot 30 0.0 0.0 0 0 ? S 14:44 0:00 [kswapd0]\nroot 31 0.0 0.0 0 0 ? S< 14:44 0:00 [vmstat]\nroot 32 0.0 0.0 0 0 ? S 14:44 0:00 [fsnotify_mark]\nroot 33 0.0 0.0 0 0 ? S 14:44 0:00 [ecryptfs-kthrea]\nroot 49 0.0 0.0 0 0 ? S< 14:44 0:00 [kthrotld]\nroot 50 0.0 0.0 0 0 ? S< 14:44 0:00 [bioset]\nroot 51 0.0 0.0 0 0 ? S< 14:44 0:00 [bioset]\nroot 52 0.0 0.0 0 0 ? S< 14:44 0:00 [bioset]\nroot 53 0.0 0.0 0 0 ? S< 14:44 0:00 [bioset]\nroot 54 0.0 0.0 0 0 ? S< 14:44 0:00 [bioset]\nroot 55 0.0 0.0 0 0 ? S< 14:44 0:00 [bioset]\nroot 56 0.0 0.0 0 0 ? S< 14:44 0:00 [bioset]\nroot 57 0.0 0.0 0 0 ? S< 14:44 0:00 [bioset]\nroot 58 0.0 0.0 0 0 ? S< 14:44 0:00 [bioset]\nroot 59 0.0 0.0 0 0 ? S< 14:44 0:00 [bioset]\nroot 60 0.0 0.0 0 0 ? S< 14:44 0:00 [bioset]\nroot 61 0.0 0.0 0 0 ? S< 14:44 0:00 [bioset]\nroot 62 0.0 0.0 0 0 ? S< 14:44 0:00 [bioset]\nroot 63 0.0 0.0 0 0 ? S< 14:44 0:00 [bioset]\nroot 64 0.0 0.0 0 0 ? S< 14:44 0:00 [bioset]\nroot 65 0.0 0.0 0 0 ? S< 14:44 0:00 [bioset]\nroot 66 0.0 0.0 0 0 ? S< 14:44 0:00 [bioset]\nroot 67 0.0 0.0 0 0 ? S< 14:44 0:00 [bioset]\nroot 68 0.0 0.0 0 0 ? S< 14:44 0:00 [bioset]\nroot 69 0.0 0.0 0 0 ? S< 14:44 0:00 [bioset]\nroot 70 0.0 0.0 0 0 ? S< 14:44 0:00 [bioset]\nroot 71 0.0 0.0 0 0 ? S< 14:44 0:00 [bioset]\nroot 72 0.0 0.0 0 0 ? S< 14:44 0:00 [bioset]\nroot 73 0.0 0.0 0 0 ? S< 14:44 0:00 [bioset]\nroot 74 0.0 0.0 0 0 ? S< 14:44 0:00 [nvme]\nroot 75 0.0 0.0 0 0 ? S 14:44 0:00 [scsi_eh_0]\nroot 76 0.0 0.0 0 0 ? S< 14:44 0:00 [scsi_tmf_0]\nroot 77 0.0 0.0 0 0 ? S 14:44 0:00 [scsi_eh_1]\nroot 78 0.0 0.0 0 0 ? S< 14:44 0:00 [scsi_tmf_1]\nroot 79 0.0 0.0 0 0 ? S 14:44 0:00 [kworker/u30:2]\nroot 83 0.0 0.0 0 0 ? S< 14:44 0:00 [ipv6_addrconf]\nroot 85 0.0 0.0 0 0 ? S< 14:44 0:00 [bioset]\nroot 97 0.0 0.0 0 0 ? S< 14:44 0:00 [deferwq]\nroot 259 0.0 0.0 0 0 ? S< 14:44 0:00 [raid5wq]\nroot 290 0.0 0.0 0 0 ? S< 14:44 0:00 [bioset]\nroot 311 0.0 0.0 0 0 ? S 14:44 0:00 [jbd2/xvda1-8]\nroot 312 0.0 0.0 0 0 ? S< 14:44 0:00 [ext4-rsv-conver]\nroot 372 0.0 0.0 0 0 ? S 14:44 0:00 [kworker/0:2]\nroot 385 0.4 0.2 28348 2688 ? Ss 14:44 0:00 /lib/systemd/systemd-journald\nroot 406 0.0 0.0 0 0 ? S< 14:44 0:00 [iscsi_eh]\nroot 407 0.0 0.0 0 0 ? S< 14:44 0:00 [ib_addr]\nroot 408 0.0 0.0 0 0 ? S 14:44 0:00 [kauditd]\nroot 411 0.0 0.0 0 0 ? S< 14:44 0:00 [ib_mcast]\nroot 412 0.0 0.0 0 0 ? S< 14:44 0:00 [ib_nl_sa_wq]\nroot 415 0.0 0.0 0 0 ? S< 14:44 0:00 [ib_cm]\nroot 416 0.0 0.0 0 0 ? S< 14:44 0:00 [iw_cm_wq]\nroot 417 0.0 0.0 0 0 ? S< 14:44 0:00 [rdma_cm]\nroot 420 0.0 0.0 0 0 ? S 14:44 0:00 [kworker/0:3]\nroot 447 0.0 0.1 94772 1516 ? Ss 14:44 0:00 /sbin/lvmetad -f\nroot 473 0.0 0.4 42812 4204 ? Ss 14:44 0:00 /lib/systemd/systemd-udevd\nsystemd+ 554 0.0 0.2 100324 2560 ? Ssl 14:44 0:00 /lib/systemd/systemd-timesyncd\nroot 594 0.0 0.0 0 0 ? S< 14:44 0:00 [kworker/0:1H]\nroot 918 0.0 0.0 16000 852 ? Ss 14:44 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 1064 0.0 0.2 26068 2524 ? Ss 14:44 0:00 /usr/sbin/cron -f\nroot 1066 0.0 0.1 95368 1448 ? Ssl 14:44 0:00 /usr/bin/lxcfs /var/lib/lxcfs/\nroot 1083 0.0 0.3 28544 3076 ? Ss 14:44 0:00 /lib/systemd/systemd-logind\nmessage+ 1086 0.0 0.3 42900 3760 ? Ss 14:44 0:00 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation\ndaemon 1101 0.0 0.2 26044 2252 ? Ss 14:44 0:00 /usr/sbin/atd -f\nroot 1113 0.0 0.5 272944 5928 ? Ssl 14:44 0:00 /usr/lib/accountsservice/accounts-daemon\nsyslog 1125 0.0 0.3 260628 3392 ? Ssl 14:44 0:00 /usr/sbin/rsyslogd -n\nroot 1132 0.0 0.1 4396 1308 ? Ss 14:44 0:00 /usr/sbin/acpid\nroot 1149 0.0 0.0 5220 148 ? Ss 14:44 0:00 /sbin/iscsid\nroot 1150 0.0 0.3 5720 3508 ? S<Ls 14:44 0:00 /sbin/iscsid\nroot 1164 0.0 0.0 13372 160 ? Ss 14:44 0:00 /sbin/mdadm --monitor --pid-file /run/mdadm/monitor.pid --daemonise --scan --syslog\nroot 1169 0.0 1.9 171712 19292 ? Ssl 14:44 0:00 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal\nroot 1172 0.0 0.5 277180 6068 ? Ssl 14:44 0:00 /usr/lib/policykit-1/polkitd --no-debug\nroot 1251 0.0 0.1 14656 1792 tty1 Ss+ 14:44 0:00 /sbin/agetty --noclear tty1 linux\nroot 1264 0.0 0.1 12840 1740 ttyS0 Ss+ 14:44 0:00 /sbin/agetty --keep-baud 115200 38400 9600 ttyS0 vt220\nroot 1301 0.0 0.5 65512 5320 ? Ss 14:44 0:00 /usr/sbin/sshd -D\nroot 1323 0.0 0.6 92800 6700 ? Ss 14:44 0:00 sshd: ubuntu [priv]\nubuntu 1325 0.0 0.4 45156 4720 ? Ss 14:44 0:00 /lib/systemd/systemd --user\nubuntu 1327 0.0 0.1 61280 1976 ? S 14:44 0:00 (sd-pam)\nubuntu 1421 0.0 0.4 92916 4200 ? S 14:44 0:00 sshd: ubuntu@notty\nroot 1502 0.0 0.0 0 0 ? S< 14:44 0:00 [loop0]\nroot 1607 0.3 2.2 517780 23008 ? Ssl 14:44 0:00 /usr/lib/snapd/snapd\nroot 1738 0.0 0.0 0 0 ? S< 14:44 0:00 [loop1]\nroot 1805 0.3 1.3 272232 13368 ? Ssl 14:44 0:00 /snap/amazon-ssm-agent/1455/amazon-ssm-agent\nubuntu 1981 0.0 0.0 4504 784 ? Ss 14:47 0:00 /bin/sh -c /usr/bin/python3 /tmp/ubuntu/ansible/ansible-tmp-1570546043.107703-64866562925824/AnsiballZ_command.py && sleep 0\nubuntu 1982 0.0 1.7 71428 17776 ? S 14:47 0:00 /usr/bin/python3 /tmp/ubuntu/ansible/ansible-tmp-1570546043.107703-64866562925824/AnsiballZ_command.py\nubuntu 1984 0.0 0.0 4504 776 ? S 14:47 0:00 /bin/sh -c ps aux\nubuntu 1985 0.0 0.2 34424 2784 ? R 14:47 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.6 0.5 37704 5712 ? Ss 14:44 0:03 /sbin/init", | |
amazon-ebs: "root 2 0.0 0.0 0 0 ? S 14:44 0:00 [kthreadd]", | |
amazon-ebs: "root 3 0.0 0.0 0 0 ? S 14:44 0:00 [ksoftirqd/0]", | |
amazon-ebs: "root 4 0.0 0.0 0 0 ? S 14:44 0:00 [kworker/0:0]", | |
amazon-ebs: "root 5 0.0 0.0 0 0 ? S< 14:44 0:00 [kworker/0:0H]", | |
amazon-ebs: "root 6 0.0 0.0 0 0 ? S 14:44 0:00 [kworker/u30:0]", | |
amazon-ebs: "root 7 0.1 0.0 0 0 ? S 14:44 0:00 [rcu_sched]", | |
amazon-ebs: "root 8 0.0 0.0 0 0 ? S 14:44 0:00 [rcu_bh]", | |
amazon-ebs: "root 9 0.0 0.0 0 0 ? S 14:44 0:00 [migration/0]", | |
amazon-ebs: "root 10 0.0 0.0 0 0 ? S 14:44 0:00 [watchdog/0]", | |
amazon-ebs: "root 11 0.0 0.0 0 0 ? S 14:44 0:00 [kdevtmpfs]", | |
amazon-ebs: "root 12 0.0 0.0 0 0 ? S< 14:44 0:00 [netns]", | |
amazon-ebs: "root 13 0.0 0.0 0 0 ? S< 14:44 0:00 [perf]", | |
amazon-ebs: "root 14 0.0 0.0 0 0 ? S 14:44 0:00 [xenwatch]", | |
amazon-ebs: "root 15 0.0 0.0 0 0 ? S 14:44 0:00 [xenbus]", | |
amazon-ebs: "root 16 0.0 0.0 0 0 ? S 14:44 0:00 [kworker/0:1]", | |
amazon-ebs: "root 17 0.0 0.0 0 0 ? S 14:44 0:00 [khungtaskd]", | |
amazon-ebs: "root 18 0.0 0.0 0 0 ? S< 14:44 0:00 [writeback]", | |
amazon-ebs: "root 19 0.0 0.0 0 0 ? SN 14:44 0:00 [ksmd]", | |
amazon-ebs: "root 20 0.0 0.0 0 0 ? SN 14:44 0:00 [khugepaged]", | |
amazon-ebs: "root 21 0.0 0.0 0 0 ? S< 14:44 0:00 [crypto]", | |
amazon-ebs: "root 22 0.0 0.0 0 0 ? S< 14:44 0:00 [kintegrityd]", | |
amazon-ebs: "root 23 0.0 0.0 0 0 ? S< 14:44 0:00 [bioset]", | |
amazon-ebs: "root 24 0.0 0.0 0 0 ? S< 14:44 0:00 [kblockd]", | |
amazon-ebs: "root 25 0.0 0.0 0 0 ? S< 14:44 0:00 [ata_sff]", | |
amazon-ebs: "root 26 0.0 0.0 0 0 ? S< 14:44 0:00 [md]", | |
amazon-ebs: "root 27 0.0 0.0 0 0 ? S< 14:44 0:00 [devfreq_wq]", | |
amazon-ebs: "root 28 0.0 0.0 0 0 ? S 14:44 0:00 [kworker/u30:1]", | |
amazon-ebs: "root 30 0.0 0.0 0 0 ? S 14:44 0:00 [kswapd0]", | |
amazon-ebs: "root 31 0.0 0.0 0 0 ? S< 14:44 0:00 [vmstat]", | |
amazon-ebs: "root 32 0.0 0.0 0 0 ? S 14:44 0:00 [fsnotify_mark]", | |
amazon-ebs: "root 33 0.0 0.0 0 0 ? S 14:44 0:00 [ecryptfs-kthrea]", | |
amazon-ebs: "root 49 0.0 0.0 0 0 ? S< 14:44 0:00 [kthrotld]", | |
amazon-ebs: "root 50 0.0 0.0 0 0 ? S< 14:44 0:00 [bioset]", | |
amazon-ebs: "root 51 0.0 0.0 0 0 ? S< 14:44 0:00 [bioset]", | |
amazon-ebs: "root 52 0.0 0.0 0 0 ? S< 14:44 0:00 [bioset]", | |
amazon-ebs: "root 53 0.0 0.0 0 0 ? S< 14:44 0:00 [bioset]", | |
amazon-ebs: "root 54 0.0 0.0 0 0 ? S< 14:44 0:00 [bioset]", | |
amazon-ebs: "root 55 0.0 0.0 0 0 ? S< 14:44 0:00 [bioset]", | |
amazon-ebs: "root 56 0.0 0.0 0 0 ? S< 14:44 0:00 [bioset]", | |
amazon-ebs: "root 57 0.0 0.0 0 0 ? S< 14:44 0:00 [bioset]", | |
amazon-ebs: "root 58 0.0 0.0 0 0 ? S< 14:44 0:00 [bioset]", | |
amazon-ebs: "root 59 0.0 0.0 0 0 ? S< 14:44 0:00 [bioset]", | |
amazon-ebs: "root 60 0.0 0.0 0 0 ? S< 14:44 0:00 [bioset]", | |
amazon-ebs: "root 61 0.0 0.0 0 0 ? S< 14:44 0:00 [bioset]", | |
amazon-ebs: "root 62 0.0 0.0 0 0 ? S< 14:44 0:00 [bioset]", | |
amazon-ebs: "root 63 0.0 0.0 0 0 ? S< 14:44 0:00 [bioset]", | |
amazon-ebs: "root 64 0.0 0.0 0 0 ? S< 14:44 0:00 [bioset]", | |
amazon-ebs: "root 65 0.0 0.0 0 0 ? S< 14:44 0:00 [bioset]", | |
amazon-ebs: "root 66 0.0 0.0 0 0 ? S< 14:44 0:00 [bioset]", | |
amazon-ebs: "root 67 0.0 0.0 0 0 ? S< 14:44 0:00 [bioset]", | |
amazon-ebs: "root 68 0.0 0.0 0 0 ? S< 14:44 0:00 [bioset]", | |
amazon-ebs: "root 69 0.0 0.0 0 0 ? S< 14:44 0:00 [bioset]", | |
amazon-ebs: "root 70 0.0 0.0 0 0 ? S< 14:44 0:00 [bioset]", | |
amazon-ebs: "root 71 0.0 0.0 0 0 ? S< 14:44 0:00 [bioset]", | |
amazon-ebs: "root 72 0.0 0.0 0 0 ? S< 14:44 0:00 [bioset]", | |
amazon-ebs: "root 73 0.0 0.0 0 0 ? S< 14:44 0:00 [bioset]", | |
amazon-ebs: "root 74 0.0 0.0 0 0 ? S< 14:44 0:00 [nvme]", | |
amazon-ebs: "root 75 0.0 0.0 0 0 ? S 14:44 0:00 [scsi_eh_0]", | |
amazon-ebs: "root 76 0.0 0.0 0 0 ? S< 14:44 0:00 [scsi_tmf_0]", | |
amazon-ebs: "root 77 0.0 0.0 0 0 ? S 14:44 0:00 [scsi_eh_1]", | |
amazon-ebs: "root 78 0.0 0.0 0 0 ? S< 14:44 0:00 [scsi_tmf_1]", | |
amazon-ebs: "root 79 0.0 0.0 0 0 ? S 14:44 0:00 [kworker/u30:2]", | |
amazon-ebs: "root 83 0.0 0.0 0 0 ? S< 14:44 0:00 [ipv6_addrconf]", | |
amazon-ebs: "root 85 0.0 0.0 0 0 ? S< 14:44 0:00 [bioset]", | |
amazon-ebs: "root 97 0.0 0.0 0 0 ? S< 14:44 0:00 [deferwq]", | |
amazon-ebs: "root 259 0.0 0.0 0 0 ? S< 14:44 0:00 [raid5wq]", | |
amazon-ebs: "root 290 0.0 0.0 0 0 ? S< 14:44 0:00 [bioset]", | |
amazon-ebs: "root 311 0.0 0.0 0 0 ? S 14:44 0:00 [jbd2/xvda1-8]", | |
amazon-ebs: "root 312 0.0 0.0 0 0 ? S< 14:44 0:00 [ext4-rsv-conver]", | |
amazon-ebs: "root 372 0.0 0.0 0 0 ? S 14:44 0:00 [kworker/0:2]", | |
amazon-ebs: "root 385 0.4 0.2 28348 2688 ? Ss 14:44 0:00 /lib/systemd/systemd-journald", | |
amazon-ebs: "root 406 0.0 0.0 0 0 ? S< 14:44 0:00 [iscsi_eh]", | |
amazon-ebs: "root 407 0.0 0.0 0 0 ? S< 14:44 0:00 [ib_addr]", | |
amazon-ebs: "root 408 0.0 0.0 0 0 ? S 14:44 0:00 [kauditd]", | |
amazon-ebs: "root 411 0.0 0.0 0 0 ? S< 14:44 0:00 [ib_mcast]", | |
amazon-ebs: "root 412 0.0 0.0 0 0 ? S< 14:44 0:00 [ib_nl_sa_wq]", | |
amazon-ebs: "root 415 0.0 0.0 0 0 ? S< 14:44 0:00 [ib_cm]", | |
amazon-ebs: "root 416 0.0 0.0 0 0 ? S< 14:44 0:00 [iw_cm_wq]", | |
amazon-ebs: "root 417 0.0 0.0 0 0 ? S< 14:44 0:00 [rdma_cm]", | |
amazon-ebs: "root 420 0.0 0.0 0 0 ? S 14:44 0:00 [kworker/0:3]", | |
amazon-ebs: "root 447 0.0 0.1 94772 1516 ? Ss 14:44 0:00 /sbin/lvmetad -f", | |
amazon-ebs: "root 473 0.0 0.4 42812 4204 ? Ss 14:44 0:00 /lib/systemd/systemd-udevd", | |
amazon-ebs: "systemd+ 554 0.0 0.2 100324 2560 ? Ssl 14:44 0:00 /lib/systemd/systemd-timesyncd", | |
amazon-ebs: "root 594 0.0 0.0 0 0 ? S< 14:44 0:00 [kworker/0:1H]", | |
amazon-ebs: "root 918 0.0 0.0 16000 852 ? Ss 14:44 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 1064 0.0 0.2 26068 2524 ? Ss 14:44 0:00 /usr/sbin/cron -f", | |
amazon-ebs: "root 1066 0.0 0.1 95368 1448 ? Ssl 14:44 0:00 /usr/bin/lxcfs /var/lib/lxcfs/", | |
amazon-ebs: "root 1083 0.0 0.3 28544 3076 ? Ss 14:44 0:00 /lib/systemd/systemd-logind", | |
amazon-ebs: "message+ 1086 0.0 0.3 42900 3760 ? Ss 14:44 0:00 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation", | |
amazon-ebs: "daemon 1101 0.0 0.2 26044 2252 ? Ss 14:44 0:00 /usr/sbin/atd -f", | |
amazon-ebs: "root 1113 0.0 0.5 272944 5928 ? Ssl 14:44 0:00 /usr/lib/accountsservice/accounts-daemon", | |
amazon-ebs: "syslog 1125 0.0 0.3 260628 3392 ? Ssl 14:44 0:00 /usr/sbin/rsyslogd -n", | |
amazon-ebs: "root 1132 0.0 0.1 4396 1308 ? Ss 14:44 0:00 /usr/sbin/acpid", | |
amazon-ebs: "root 1149 0.0 0.0 5220 148 ? Ss 14:44 0:00 /sbin/iscsid", | |
amazon-ebs: "root 1150 0.0 0.3 5720 3508 ? S<Ls 14:44 0:00 /sbin/iscsid", | |
amazon-ebs: "root 1164 0.0 0.0 13372 160 ? Ss 14:44 0:00 /sbin/mdadm --monitor --pid-file /run/mdadm/monitor.pid --daemonise --scan --syslog", | |
amazon-ebs: "root 1169 0.0 1.9 171712 19292 ? Ssl 14:44 0:00 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal", | |
amazon-ebs: "root 1172 0.0 0.5 277180 6068 ? Ssl 14:44 0:00 /usr/lib/policykit-1/polkitd --no-debug", | |
amazon-ebs: "root 1251 0.0 0.1 14656 1792 tty1 Ss+ 14:44 0:00 /sbin/agetty --noclear tty1 linux", | |
amazon-ebs: "root 1264 0.0 0.1 12840 1740 ttyS0 Ss+ 14:44 0:00 /sbin/agetty --keep-baud 115200 38400 9600 ttyS0 vt220", | |
amazon-ebs: "root 1301 0.0 0.5 65512 5320 ? Ss 14:44 0:00 /usr/sbin/sshd -D", | |
amazon-ebs: "root 1323 0.0 0.6 92800 6700 ? Ss 14:44 0:00 sshd: ubuntu [priv]", | |
amazon-ebs: "ubuntu 1325 0.0 0.4 45156 4720 ? Ss 14:44 0:00 /lib/systemd/systemd --user", | |
amazon-ebs: "ubuntu 1327 0.0 0.1 61280 1976 ? S 14:44 0:00 (sd-pam)", | |
amazon-ebs: "ubuntu 1421 0.0 0.4 92916 4200 ? S 14:44 0:00 sshd: ubuntu@notty", | |
amazon-ebs: "root 1502 0.0 0.0 0 0 ? S< 14:44 0:00 [loop0]", | |
amazon-ebs: "root 1607 0.3 2.2 517780 23008 ? Ssl 14:44 0:00 /usr/lib/snapd/snapd", | |
amazon-ebs: "root 1738 0.0 0.0 0 0 ? S< 14:44 0:00 [loop1]", | |
amazon-ebs: "root 1805 0.3 1.3 272232 13368 ? Ssl 14:44 0:00 /snap/amazon-ssm-agent/1455/amazon-ssm-agent", | |
amazon-ebs: "ubuntu 1981 0.0 0.0 4504 784 ? Ss 14:47 0:00 /bin/sh -c /usr/bin/python3 /tmp/ubuntu/ansible/ansible-tmp-1570546043.107703-64866562925824/AnsiballZ_command.py && sleep 0", | |
amazon-ebs: "ubuntu 1982 0.0 1.7 71428 17776 ? S 14:47 0:00 /usr/bin/python3 /tmp/ubuntu/ansible/ansible-tmp-1570546043.107703-64866562925824/AnsiballZ_command.py", | |
amazon-ebs: "ubuntu 1984 0.0 0.0 4504 776 ? S 14:47 0:00 /bin/sh -c ps aux", | |
amazon-ebs: "ubuntu 1985 0.0 0.2 34424 2784 ? R 14:47 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/tmpim1nN6deploy_packer/files/playbook_master.json:17 | |
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=58532 -o 'IdentityFile="/var/folders/tj/tshgns294mbd2qlh8zg4wj4m0000gp/T/ansible-key283380154"' -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/85b43f0ef9 127.0.0.1 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /tmp/${USER}/ansible/ansible-tmp-1570546046.315569-218498735578469 `" && echo ansible-tmp-1570546046.315569-218498735578469="` echo /tmp/${USER}/ansible/ansible-tmp-1570546046.315569-218498735578469 `" ) && sleep 0'"'"'' | |
amazon-ebs: <127.0.0.1> (0, b'ansible-tmp-1570546046.315569-218498735578469=/tmp/ubuntu/ansible/ansible-tmp-1570546046.315569-218498735578469\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 = 26309\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-26297fdq6w9u0/tmp201hhp8s TO /tmp/ubuntu/ansible/ansible-tmp-1570546046.315569-218498735578469/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=58532 -o 'IdentityFile="/var/folders/tj/tshgns294mbd2qlh8zg4wj4m0000gp/T/ansible-key283380154"' -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/85b43f0ef9 /Users/kevin/.ansible/tmp/ansible-local-26297fdq6w9u0/tmp201hhp8s '[127.0.0.1]:/tmp/ubuntu/ansible/ansible-tmp-1570546046.315569-218498735578469/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-1570546046.315569-218498735578469/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 = 26309\r\ndebug3: mux_client_request_session: session request sent\r\nSending file modes: C0600 105401 tmp201hhp8s\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=58532 -o 'IdentityFile="/var/folders/tj/tshgns294mbd2qlh8zg4wj4m0000gp/T/ansible-key283380154"' -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/85b43f0ef9 127.0.0.1 '/bin/sh -c '"'"'chmod u+x /tmp/ubuntu/ansible/ansible-tmp-1570546046.315569-218498735578469/ /tmp/ubuntu/ansible/ansible-tmp-1570546046.315569-218498735578469/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 = 26309\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=58532 -o 'IdentityFile="/var/folders/tj/tshgns294mbd2qlh8zg4wj4m0000gp/T/ansible-key283380154"' -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/85b43f0ef9 -tt 127.0.0.1 '/bin/sh -c '"'"'/usr/bin/python3 /tmp/ubuntu/ansible/ansible-tmp-1570546046.315569-218498735578469/AnsiballZ_command.py && sleep 0'"'"'' | |
amazon-ebs: <127.0.0.1> (0, b'\n{"rc": 0, "stderr": "", "start": "2019-10-08 14:47:28.308621", "cmd": "systemctl status unattended-upgrades.service", "delta": "0:00:00.006449", "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:44:20 UTC; 3min 8s ago\\n Docs: man:unattended-upgrade(8)\\n Main PID: 1169 (unattended-upgr)\\n Tasks: 2\\n Memory: 12.5M\\n CPU: 86ms\\n CGroup: /system.slice/unattended-upgrades.service\\n \\u2514\\u25001169 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal\\n\\nOct 08 14:44:20 ip-172-31-29-74 systemd[1]: Started Unattended Upgrades Shutdown.", "invocation": {"module_args": {"removes": null, "executable": null, "strip_empty_ends": true, "chdir": null, "creates": null, "_uses_shell": true, "_raw_params": "systemctl status unattended-upgrades.service", "stdin_add_newline": true, "argv": null, "stdin": null, "warn": true}}, "changed": true, "end": "2019-10-08 14:47:28.315070"}\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 = 26309\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=58532 -o 'IdentityFile="/var/folders/tj/tshgns294mbd2qlh8zg4wj4m0000gp/T/ansible-key283380154"' -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/85b43f0ef9 127.0.0.1 '/bin/sh -c '"'"'rm -f -r /tmp/ubuntu/ansible/ansible-tmp-1570546046.315569-218498735578469/ > /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 = 26309\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.006449", | |
amazon-ebs: "end": "2019-10-08 14:47:28.315070", | |
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:47:28.308621", | |
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:44:20 UTC; 3min 8s ago\n Docs: man:unattended-upgrade(8)\n Main PID: 1169 (unattended-upgr)\n Tasks: 2\n Memory: 12.5M\n CPU: 86ms\n CGroup: /system.slice/unattended-upgrades.service\n └─1169 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal\n\nOct 08 14:44:20 ip-172-31-29-74 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:44:20 UTC; 3min 8s ago", | |
amazon-ebs: " Docs: man:unattended-upgrade(8)", | |
amazon-ebs: " Main PID: 1169 (unattended-upgr)", | |
amazon-ebs: " Tasks: 2", | |
amazon-ebs: " Memory: 12.5M", | |
amazon-ebs: " CPU: 86ms", | |
amazon-ebs: " CGroup: /system.slice/unattended-upgrades.service", | |
amazon-ebs: " └─1169 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal", | |
amazon-ebs: "", | |
amazon-ebs: "Oct 08 14:44:20 ip-172-31-29-74 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/tmpim1nN6deploy_packer/files/playbook_master.json:23 | |
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=58532 -o 'IdentityFile="/var/folders/tj/tshgns294mbd2qlh8zg4wj4m0000gp/T/ansible-key283380154"' -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/85b43f0ef9 127.0.0.1 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /tmp/${USER}/ansible/ansible-tmp-1570546048.697162-254728053532959 `" && echo ansible-tmp-1570546048.697162-254728053532959="` echo /tmp/${USER}/ansible/ansible-tmp-1570546048.697162-254728053532959 `" ) && sleep 0'"'"'' | |
amazon-ebs: <127.0.0.1> (0, b'ansible-tmp-1570546048.697162-254728053532959=/tmp/ubuntu/ansible/ansible-tmp-1570546048.697162-254728053532959\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 = 26309\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-26297fdq6w9u0/tmp46dnp39e TO /tmp/ubuntu/ansible/ansible-tmp-1570546048.697162-254728053532959/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=58532 -o 'IdentityFile="/var/folders/tj/tshgns294mbd2qlh8zg4wj4m0000gp/T/ansible-key283380154"' -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/85b43f0ef9 /Users/kevin/.ansible/tmp/ansible-local-26297fdq6w9u0/tmp46dnp39e '[127.0.0.1]:/tmp/ubuntu/ansible/ansible-tmp-1570546048.697162-254728053532959/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-1570546048.697162-254728053532959/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 = 26309\r\ndebug3: mux_client_request_session: session request sent\r\nSending file modes: C0600 105372 tmp46dnp39e\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=58532 -o 'IdentityFile="/var/folders/tj/tshgns294mbd2qlh8zg4wj4m0000gp/T/ansible-key283380154"' -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/85b43f0ef9 127.0.0.1 '/bin/sh -c '"'"'chmod u+x /tmp/ubuntu/ansible/ansible-tmp-1570546048.697162-254728053532959/ /tmp/ubuntu/ansible/ansible-tmp-1570546048.697162-254728053532959/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 = 26309\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=58532 -o 'IdentityFile="/var/folders/tj/tshgns294mbd2qlh8zg4wj4m0000gp/T/ansible-key283380154"' -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/85b43f0ef9 -tt 127.0.0.1 '/bin/sh -c '"'"'/usr/bin/python3 /tmp/ubuntu/ansible/ansible-tmp-1570546048.697162-254728053532959/AnsiballZ_command.py && sleep 0'"'"'' | |
amazon-ebs: <127.0.0.1> (0, b'\n{"stderr": "\\nWARNING: apt does not have a stable CLI interface. Use with caution in scripts.", "invocation": {"module_args": {"executable": null, "chdir": null, "strip_empty_ends": true, "creates": null, "removes": null, "stdin_add_newline": true, "stdin": null, "_uses_shell": true, "warn": true, "_raw_params": "sudo apt update", "argv": null}}, "warnings": ["Consider using \'become\', \'become_method\', and \'become_user\' rather than running sudo"], "cmd": "sudo apt update", "end": "2019-10-08 14:47:39.491970", "rc": 0, "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://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages [7,532 kB]\\nGet:5 http://security.ubuntu.com/ubuntu xenial-security InRelease [109 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 (4,443 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:47:32.544499", "delta": "0:00:06.947471", "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 = 26309\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=58532 -o 'IdentityFile="/var/folders/tj/tshgns294mbd2qlh8zg4wj4m0000gp/T/ansible-key283380154"' -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/85b43f0ef9 127.0.0.1 '/bin/sh -c '"'"'rm -f -r /tmp/ubuntu/ansible/ansible-tmp-1570546048.697162-254728053532959/ > /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 = 26309\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: changed: [default] => { | |
amazon-ebs: than running sudo | |
amazon-ebs: "changed": true, | |
amazon-ebs: | |
amazon-ebs: "cmd": "sudo apt update", | |
amazon-ebs: "delta": "0:00:06.947471", | |
amazon-ebs: "end": "2019-10-08 14:47:39.491970", | |
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:47:32.544499", | |
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://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages [7,532 kB]\nGet:5 http://security.ubuntu.com/ubuntu xenial-security InRelease [109 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 (4,443 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://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages [7,532 kB]", | |
amazon-ebs: "Get:5 http://security.ubuntu.com/ubuntu xenial-security InRelease [109 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 (4,443 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/tmpim1nN6deploy_packer/files/playbook_master.json:31 | |
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=58532 -o 'IdentityFile="/var/folders/tj/tshgns294mbd2qlh8zg4wj4m0000gp/T/ansible-key283380154"' -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/85b43f0ef9 127.0.0.1 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /tmp/${USER}/ansible/ansible-tmp-1570546060.441875-242465118916652 `" && echo ansible-tmp-1570546060.441875-242465118916652="` echo /tmp/${USER}/ansible/ansible-tmp-1570546060.441875-242465118916652 `" ) && sleep 0'"'"'' | |
amazon-ebs: <127.0.0.1> (0, b'ansible-tmp-1570546060.441875-242465118916652=/tmp/ubuntu/ansible/ansible-tmp-1570546060.441875-242465118916652\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 = 26309\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-26297fdq6w9u0/tmp1v_vpemm TO /tmp/ubuntu/ansible/ansible-tmp-1570546060.441875-242465118916652/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=58532 -o 'IdentityFile="/var/folders/tj/tshgns294mbd2qlh8zg4wj4m0000gp/T/ansible-key283380154"' -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/85b43f0ef9 /Users/kevin/.ansible/tmp/ansible-local-26297fdq6w9u0/tmp1v_vpemm '[127.0.0.1]:/tmp/ubuntu/ansible/ansible-tmp-1570546060.441875-242465118916652/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-1570546060.441875-242465118916652/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 = 26309\r\ndebug3: mux_client_request_session: session request sent\r\nSending file modes: C0600 105342 tmp1v_vpemm\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=58532 -o 'IdentityFile="/var/folders/tj/tshgns294mbd2qlh8zg4wj4m0000gp/T/ansible-key283380154"' -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/85b43f0ef9 127.0.0.1 '/bin/sh -c '"'"'chmod u+x /tmp/ubuntu/ansible/ansible-tmp-1570546060.441875-242465118916652/ /tmp/ubuntu/ansible/ansible-tmp-1570546060.441875-242465118916652/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 = 26309\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=58532 -o 'IdentityFile="/var/folders/tj/tshgns294mbd2qlh8zg4wj4m0000gp/T/ansible-key283380154"' -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/85b43f0ef9 -tt 127.0.0.1 '/bin/sh -c '"'"'/usr/bin/python3 /tmp/ubuntu/ansible/ansible-tmp-1570546060.441875-242465118916652/AnsiballZ_command.py && sleep 0'"'"'' | |
amazon-ebs: <127.0.0.1> (0, b'\n{"delta": "0:00:00.004852", "cmd": ["whoami"], "stdout": "ubuntu", "invocation": {"module_args": {"stdin": null, "_raw_params": "whoami", "executable": null, "creates": null, "argv": null, "_uses_shell": false, "chdir": null, "stdin_add_newline": true, "removes": null, "warn": true, "strip_empty_ends": true}}, "start": "2019-10-08 14:47:45.013244", "rc": 0, "changed": true, "end": "2019-10-08 14:47:45.018096", "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 = 26309\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=58532 -o 'IdentityFile="/var/folders/tj/tshgns294mbd2qlh8zg4wj4m0000gp/T/ansible-key283380154"' -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/85b43f0ef9 127.0.0.1 '/bin/sh -c '"'"'rm -f -r /tmp/ubuntu/ansible/ansible-tmp-1570546060.441875-242465118916652/ > /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 = 26309\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.004852", | |
amazon-ebs: "end": "2019-10-08 14:47:45.018096", | |
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:47:45.013244", | |
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/tmpim1nN6deploy_packer/files/playbook_master.json:37 | |
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=58532 -o 'IdentityFile="/var/folders/tj/tshgns294mbd2qlh8zg4wj4m0000gp/T/ansible-key283380154"' -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/85b43f0ef9 127.0.0.1 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /tmp/${USER}/ansible/ansible-tmp-1570546066.439837-74880916175718 `" && echo ansible-tmp-1570546066.439837-74880916175718="` echo /tmp/${USER}/ansible/ansible-tmp-1570546066.439837-74880916175718 `" ) && sleep 0'"'"'' | |
amazon-ebs: <127.0.0.1> (0, b'ansible-tmp-1570546066.439837-74880916175718=/tmp/ubuntu/ansible/ansible-tmp-1570546066.439837-74880916175718\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 = 26309\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-26297fdq6w9u0/tmpqpo2nhuz TO /tmp/ubuntu/ansible/ansible-tmp-1570546066.439837-74880916175718/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=58532 -o 'IdentityFile="/var/folders/tj/tshgns294mbd2qlh8zg4wj4m0000gp/T/ansible-key283380154"' -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/85b43f0ef9 /Users/kevin/.ansible/tmp/ansible-local-26297fdq6w9u0/tmpqpo2nhuz '[127.0.0.1]:/tmp/ubuntu/ansible/ansible-tmp-1570546066.439837-74880916175718/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-1570546066.439837-74880916175718/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 = 26309\r\ndebug3: mux_client_request_session: session request sent\r\nSending file modes: C0600 138413 tmpqpo2nhuz\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=58532 -o 'IdentityFile="/var/folders/tj/tshgns294mbd2qlh8zg4wj4m0000gp/T/ansible-key283380154"' -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/85b43f0ef9 127.0.0.1 '/bin/sh -c '"'"'chmod u+x /tmp/ubuntu/ansible/ansible-tmp-1570546066.439837-74880916175718/ /tmp/ubuntu/ansible/ansible-tmp-1570546066.439837-74880916175718/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 = 26309\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=58532 -o 'IdentityFile="/var/folders/tj/tshgns294mbd2qlh8zg4wj4m0000gp/T/ansible-key283380154"' -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/85b43f0ef9 -tt 127.0.0.1 '/bin/sh -c '"'"'/usr/bin/python3 /tmp/ubuntu/ansible/ansible-tmp-1570546066.439837-74880916175718/AnsiballZ_apt.py && sleep 0'"'"'' | |
amazon-ebs: <127.0.0.1> (1, b'\n{"msg": "Failed to lock apt for exclusive operation", "invocation": {"module_args": {"state": "present", "policy_rc_d": null, "autoremove": false, "update_cache": true, "deb": null, "dpkg_options": "force-confdef,force-confold", "autoclean": false, "force": false, "allow_unauthenticated": false, "force_apt_get": false, "cache_valid_time": 0, "install_recommends": null, "upgrade": null, "default_release": null, "purge": false, "package": null, "only_upgrade": false}}, "failed": true, "exception": " File \\"/tmp/ansible_apt_payload_cqpcqvjp/__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", "warnings": ["Could not find aptitude. Using apt-get instead"]}\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 = 26309\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 = 26309 | |
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=58532 -o 'IdentityFile="/var/folders/tj/tshgns294mbd2qlh8zg4wj4m0000gp/T/ansible-key283380154"' -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/85b43f0ef9 127.0.0.1 '/bin/sh -c '"'"'rm -f -r /tmp/ubuntu/ansible/ansible-tmp-1570546066.439837-74880916175718/ > /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 = 26309\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_cqpcqvjp/__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": "Failed to lock apt for exclusive operation" | |
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$ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"variables": { | |
"aws_access_key": "", | |
"aws_secret_key": "" | |
}, | |
"builders": [ | |
{ | |
"type": "amazon-ebs", | |
"access_key": "{{user `aws_access_key`}}", | |
"secret_key": "{{user `aws_secret_key`}}", | |
"region": "us-east-1", | |
"source_ami_filter": { | |
"filters": { | |
"virtualization-type": "hvm", | |
"name": "ubuntu/images/*ubuntu-xenial-16.04-amd64-server-*", | |
"root-device-type": "ebs" | |
}, | |
"owners": ["099720109477"], | |
"most_recent": true | |
}, | |
"instance_type": "t2.micro", | |
"ssh_username": "ubuntu", | |
"ami_name": "packer-example {{timestamp}}" | |
} | |
# , | |
#{ | |
# "type": "" | |
#} | |
], | |
"provisioners": [ | |
{ | |
"type": "shell", | |
"inline": [ | |
"sleep 80" | |
] | |
}, | |
{ | |
"type": "ansible", | |
"user": "root", | |
"playbook_file": "files/playbook_master.json", | |
"extra_arguments": [ "-vvvv", "--extra-vars", "--become-method=sudo"], | |
"ansible_env_vars": ["ANSIBLE_FORCE_COLOR=true", "USE_PERSISTENT_CONNECTIONS=false"] | |
}, { | |
"type": "shell", | |
"inline": [ | |
"echo Thanks to https://alex.dzyoba.com/blog/packer-for-docker/ and make sure to use jsonnet to properly share the configuration." | |
] | |
} | |
] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
machine (type):: [ | |
{ | |
# become: true, | |
# become_method: 'su', | |
hosts: 'all', | |
vars: { | |
kubernetes_allow_pods_on_master: true, | |
kubernetes_role: type, | |
ansible_become: true, | |
}, | |
# roles: [ | |
# { | |
# become: "yes", | |
# role: "jnv.unattended-upgrades", | |
# } | |
# , | |
# ] | |
# , | |
tasks: [ | |
#{ | |
# name: 'Wait for any possibly running unattended upgrade to finish', | |
# # shell: "echo HEY" | |
# shell: "while pgrep unattended; do wc /var/log/unattended-upgrades/unattended-upgrades-dpkg.log; sleep 10; done;" | |
# # systemd-run --property='After=apt-daily.service apt-daily-upgrade.service' --wait /bin/true" | |
#} | |
#, | |
{ | |
name: "slow", | |
command: "/bin/sleep 90", | |
register: "some_job" | |
} | |
, | |
#{ | |
# name: "check up on slow", | |
# async_status: { | |
# jid: '{{ some_job.ansible_job_id }}', | |
# mode: "status" | |
# }, | |
# register: "result", | |
# until: "result.finished", | |
# retries: 20 | |
#} | |
#{ | |
# name: "check again on slow", | |
# command: "pgrep unattended", | |
# register: "cmd_res", | |
# retries: 100, | |
# until: 1, # "cmd_res.stdout_lines | list | count == 0", | |
# delay: 5, | |
# async: 300, | |
# ignore_errors: "yes", | |
# poll: 0 | |
#} | |
#, | |
#{ | |
# name: "Wait for any possibly running unattended upgrade to finish", | |
# shell: 'systemd-run --property="After=apt-daily.service apt-daily-upgrade.service" ' | |
#} | |
#, | |
{ | |
name: "check processes", | |
shell: "ps aux", | |
register: "procs", | |
retries: 3 | |
} | |
, | |
{ | |
name: "check service", | |
shell: "systemctl status unattended-upgrades.service", | |
register: "service_status", | |
retries: 3 | |
} | |
, | |
{ | |
name: "run apt", | |
shell: "sudo apt update", | |
become_user: "root", | |
become_method: "su", | |
become: "yes", | |
register: "apt_result", | |
} | |
# , | |
# { | |
# name: "install_tree", | |
# become_user: "root", | |
# become_method: "su", | |
# become: "yes", | |
# apt: { | |
# name: "tree" | |
# }, | |
# ignore_errors: "yes" | |
# } | |
# , | |
# { | |
# name: "install_htop", | |
# become_user: "root", | |
# become_method: "su", | |
# become: "yes", | |
# apt: { | |
# name: "htop" | |
# } | |
# } | |
, | |
{ | |
name: "check_who", | |
command: "whoami", | |
become_user: "root", | |
# become_method: "su", | |
become: true, | |
# ansible_become: true, | |
} | |
, | |
{ | |
name: "update cache", | |
become_user: "root", | |
become_method: "su", | |
become: true, | |
apt: { | |
update_cache: "yes" | |
} | |
} | |
, | |
{ | |
name: "upgrade dist", | |
become_user: "root", | |
become_method: "su", | |
become: "yes", | |
apt: { | |
upgrade: "dist" | |
} | |
} | |
, | |
{ | |
name: "foo", | |
shell: "which lsof || echo a ; which fuser || echo b ; which lslocks && sudo lslocks || echo c ", | |
register: "bar", | |
retries: 3, | |
} | |
, | |
{ | |
name: "is_up", | |
shell: "systemctl is-system-running", | |
register: "is_up", | |
retries: 3, | |
} | |
, | |
{ | |
name: "check user", | |
become: "yes", | |
shell: "echo aaaaaaa ; >&1 tail /var/log/dpkg.log || echo aaaaa ; echo HERE ; >&1 tail /var/log/cloud-init-output.log || echo aaaaa; echo DONE ; sleep 5 ; >&1 tail /var/log/cloud-init-output.log || echo aaaaa ; echo TADA ; >&1 tail /var/log/apt/term.log || echo aaaa ; >&1 sudo ps -ef |egrep 'apt|dpkg' || echo aaa ; >&1 sudo fuser '/var/lib/dpkg/lock-frontend' || echo aa ; >&1 sudo fuser -vvv /var/lib/apt/lock || echo a ; >&1 sudo lsof /var/lib/apt/lists/lock || echo b ; >&1 sudo lsof /var/lib/dpkg/lock || echo c ; >&1 sudo lsof /var/cache/apt/archives/lock || echo d ; ", # >&2 fuser /var/lib/apt/lists/lock ; | |
register: "bah", | |
retries: 3, | |
} | |
, | |
{ | |
name: "check quick", | |
shell: ">&2 tail /var/log/dpkg.log ; >&1 pgrep unattended", # >&2 wc /var/log/unattended-upgrades/unattended-upgrades-dpkg.log ; >&1 | |
register: "pid_check", | |
until: "pid_check.stdout_lines | list | count == 0", | |
retries: 3, | |
} | |
, | |
{ | |
name: "check up on command", | |
async_status: { | |
jid: '{{ cmd_res.ansible_job_id }}', | |
mode: "status" | |
}, | |
register: "result", | |
until: "result.finished", | |
retries: 30, | |
} | |
, | |
{ | |
name: "check what is up", | |
debug: { | |
msg: "{{cmd_res}}" | |
} | |
} | |
, | |
{ | |
name: "fail play", | |
fail: { | |
msg: "{{cmd_res}}" | |
}, | |
when: "1" | |
} | |
, | |
{ | |
name: "check yet again on slow", | |
command: "wc /var/log/unattended-upgrades/unattended-upgrades-dpkg.log", | |
register: "cmd_res2", | |
retries: 100, | |
until: "cmd_res.stdout_lines | list | count == 0", | |
delay: 5, | |
async: 300, | |
} | |
, | |
{ | |
name: "add_damn_key", | |
apt_key: { | |
id: "9DC858229FC7DD38854AE2D88D81803C0EBFCD88", | |
url: "https://download.docker.com/linux/ubuntu/gpg", | |
state: "present" | |
}, | |
become: true, | |
become_method: 'su', | |
become_user: 'root' | |
} | |
#, { | |
# name: 'get the username running the deploy', | |
# become: false, | |
# local_action: 'command whoami', | |
# register: 'username_on_the_host' | |
#} | |
], | |
# roles: [] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment