get_url runs but doesnt download the file

I have 2 vms both running centos and ansible, running a get_url test and the playbook runs fine and says changed = 1 but the file never gets downloaded to the target

I have apache running on the server that hosts the file (root owns the remote dir - /var/www/html

Any ideas? Thanks.

ansible v 2.3.0.0

What comes to mind:

* debug with -vvvv
* run tcpdump on the initiating host to see if packets get out

Dick

Hi. I havent had any problems running other playbooks against this target, and I can ping the destination ansible server.

When I run -vvvv I get the output below, looked through it, cant see where the issue is

Loading callback plugin default of type stdout, v2.0 from /usr/lib/python2.7/site-packages/ansible/plugins/callback/init.pyc

PLAYBOOK: geturl.yml *********************************************************************************************************************
1 plays in geturl.yml

PLAY [10.10.0.5] *************************************************************************************************************************

TASK [Gathering Facts] *******************************************************************************************************************
Using module file /usr/lib/python2.7/site-packages/ansible/modules/system/setup.py
<10.10.0.5> ESTABLISH SSH CONNECTION FOR USER: ansible
<10.10.0.5> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=ansible -o ConnectTimeout=10 -o ControlPath=/home/ansible/.ansible/cp/18a7933194 10.10.0.5 ‘/bin/sh -c ‘"’“‘echo ~ && sleep 0’”’“‘’
<10.10.0.5> (0, ‘/home/ansible\n’, ‘OpenSSH_6.6.1, OpenSSL 1.0.1e-fips 11 Feb 2013\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 56: Applying options for \r\ndebug1: auto-mux: Trying existing master\r\ndebug1: Control socket “/home/ansible/.ansible/cp/18a7933194” does not exist\r\ndebug2: ssh_connect: needpriv 0\r\ndebug1: Connecting to 10.10.0.5 [10.10.0.5] port 22.\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug1: fd 3 clearing O_NONBLOCK\r\ndebug1: Connection established.\r\ndebug3: timeout: 10000 ms remain after connect\r\ndebug3: Incorrect RSA1 identifier\r\ndebug3: Could not load “/home/ansible/.ssh/id_rsa” as a RSA1 public key\r\ndebug1: identity file /home/ansible/.ssh/id_rsa type 1\r\ndebug1: identity file /home/ansible/.ssh/id_rsa-cert type -1\r\ndebug1: identity file /home/ansible/.ssh/id_dsa type -1\r\ndebug1: identity file /home/ansible/.ssh/id_dsa-cert type -1\r\ndebug1: identity file /home/ansible/.ssh/id_ecdsa type -1\r\ndebug1: identity file /home/ansible/.ssh/id_ecdsa-cert type -1\r\ndebug1: identity file /home/ansible/.ssh/id_ed25519 type -1\r\ndebug1: identity file /home/ansible/.ssh/id_ed25519-cert type -1\r\ndebug1: Enabling compatibility mode for protocol 2.0\r\ndebug1: Local version string SSH-2.0-OpenSSH_6.6.1\r\ndebug1: Remote protocol version 2.0, remote software version OpenSSH_6.6.1\r\ndebug1: match: OpenSSH_6.6.1 pat OpenSSH_6.6.1 compat 0x04000000\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug3: load_hostkeys: loading entries for host “10.10.0.5” from file “/home/ansible/.ssh/known_hosts”\r\ndebug3: load_hostkeys: found key type ECDSA in file /home/ansible/.ssh/known_hosts:2\r\ndebug3: load_hostkeys: loaded 1 keys\r\ndebug3: order_hostkeyalgs: prefer hostkeyalgs: ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521\r\ndebug1: SSH2_MSG_KEXINIT sent\r\ndebug1: SSH2_MSG_KEXINIT received\r\ndebug2: kex_parse_kexinit: curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1\r\ndebug2: kex_parse_kexinit: ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,ssh-ed25519-cert-v01@openssh.com,ssh-rsa-cert-v01@openssh.com,ssh-dss-cert-v01@openssh.com,ssh-rsa-cert-v00@openssh.com,ssh-dss-cert-v00@openssh.com,ssh-ed25519,ssh-rsa,ssh-dss\r\ndebug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-gcm@openssh.com,aes256-gcm@openssh.com,chacha20-poly1305@openssh.com,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se\r\ndebug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-gcm@openssh.com,aes256-gcm@openssh.com,chacha20-poly1305@openssh.com,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se\r\ndebug2: kex_parse_kexinit: hmac-md5-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-ripemd160-etm@openssh.com,hmac-sha1-96-etm@openssh.com,hmac-md5-96-etm@openssh.com,hmac-md5,hmac-sha1,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96\r\ndebug2: kex_parse_kexinit: hmac-md5-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-ripemd160-etm@openssh.com,hmac-sha1-96-etm@openssh.com,hmac-md5-96-etm@openssh.com,hmac-md5,hmac-sha1,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96\r\ndebug2: kex_parse_kexinit: zlib@openssh.com,zlib,none\r\ndebug2: kex_parse_kexinit: zlib@openssh.com,zlib,none\r\ndebug2: kex_parse_kexinit: \r\ndebug2: kex_parse_kexinit: \r\ndebug2: kex_parse_kexinit: first_kex_follows 0 \r\ndebug2: kex_parse_kexinit: reserved 0 \r\ndebug2: kex_parse_kexinit: curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1\r\ndebug2: kex_parse_kexinit: ssh-rsa,ecdsa-sha2-nistp256,ssh-ed25519\r\ndebug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-gcm@openssh.com,aes256-gcm@openssh.com,chacha20-poly1305@openssh.com,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se\r\ndebug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-gcm@openssh.com,aes256-gcm@openssh.com,chacha20-poly1305@openssh.com,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se\r\ndebug2: kex_parse_kexinit: hmac-md5-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-ripemd160-etm@openssh.com,hmac-sha1-96-etm@openssh.com,hmac-md5-96-etm@openssh.com,hmac-md5,hmac-sha1,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96\r\ndebug2: kex_parse_kexinit: hmac-md5-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-ripemd160-etm@openssh.com,hmac-sha1-96-etm@openssh.com,hmac-md5-96-etm@openssh.com,hmac-md5,hmac-sha1,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96\r\ndebug2: kex_parse_kexinit: none,zlib@openssh.com\r\ndebug2: kex_parse_kexinit: none,zlib@openssh.com\r\ndebug2: kex_parse_kexinit: \r\ndebug2: kex_parse_kexinit: \r\ndebug2: kex_parse_kexinit: first_kex_follows 0 \r\ndebug2: kex_parse_kexinit: reserved 0 \r\ndebug2: mac_setup: setup hmac-md5-etm@openssh.com\r\ndebug1: kex: server->client aes128-ctr hmac-md5-etm@openssh.com zlib@openssh.com\r\ndebug2: mac_setup: setup hmac-md5-etm@openssh.com\r\ndebug1: kex: client->server aes128-ctr hmac-md5-etm@openssh.com zlib@openssh.com\r\ndebug1: kex: curve25519-sha256@libssh.org need=16 dh_need=16\r\ndebug1: kex: curve25519-sha256@libssh.org need=16 dh_need=16\r\ndebug1: sending SSH2_MSG_KEX_ECDH_INIT\r\ndebug1: expecting SSH2_MSG_KEX_ECDH_REPLY\r\ndebug1: Server host key: ECDSA 9c:94:68:e1:24:cc:98:b4:1d:9c:d8:2f:04:04:fd:73\r\ndebug3: load_hostkeys: loading entries for host “10.10.0.5” from file “/home/ansible/.ssh/known_hosts”\r\ndebug3: load_hostkeys: found key type ECDSA in file /home/ansible/.ssh/known_hosts:2\r\ndebug3: load_hostkeys: loaded 1 keys\r\ndebug1: Host '10.10.0.5' is known and matches the ECDSA host key.\r\ndebug1: Found key in /home/ansible/.ssh/known_hosts:2\r\ndebug1: ssh_ecdsa_verify: signature correct\r\ndebug2: kex_derive_keys\r\ndebug2: set_newkeys: mode 1\r\ndebug1: SSH2_MSG_NEWKEYS sent\r\ndebug1: expecting SSH2_MSG_NEWKEYS\r\ndebug2: set_newkeys: mode 0\r\ndebug1: SSH2_MSG_NEWKEYS received\r\ndebug1: SSH2_MSG_SERVICE_REQUEST sent\r\ndebug2: service_accept: ssh-userauth\r\ndebug1: SSH2_MSG_SERVICE_ACCEPT received\r\ndebug2: key: /home/ansible/.ssh/id_rsa (0x7f29472edd20),\r\ndebug2: key: /home/ansible/.ssh/id_dsa ((nil)),\r\ndebug2: key: /home/ansible/.ssh/id_ecdsa ((nil)),\r\ndebug2: key: /home/ansible/.ssh/id_ed25519 ((nil)),\r\ndebug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic,password\r\ndebug3: start over, passed a different list publickey,gssapi-keyex,gssapi-with-mic,password\r\ndebug3: preferred gssapi-with-mic,gssapi-keyex,hostbased,publickey\r\ndebug3: authmethod_lookup gssapi-with-mic\r\ndebug3: remaining preferred: gssapi-keyex,hostbased,publickey\r\ndebug3: authmethod_is_enabled gssapi-with-mic\r\ndebug1: Next authentication method: gssapi-with-mic\r\ndebug1: Unspecified GSS failure. Minor code may provide more information\nNo Kerberos credentials available (default cache: KEYRING:persistent:1001)\n\r\ndebug1: Unspecified GSS failure. Minor code may provide more information\nNo Kerberos credentials available (default cache: KEYRING:persistent:1001)\n\r\ndebug2: we did not send a packet, disable method\r\ndebug3: authmethod_lookup gssapi-keyex\r\ndebug3: remaining preferred: hostbased,publickey\r\ndebug3: authmethod_is_enabled gssapi-keyex\r\ndebug1: Next authentication method: gssapi-keyex\r\ndebug1: No valid Key exchange context\r\ndebug2: we did not send a packet, disable method\r\ndebug3: authmethod_lookup publickey\r\ndebug3: remaining preferred: ,publickey\r\ndebug3: authmethod_is_enabled publickey\r\ndebug1: Next authentication method: publickey\r\ndebug1: Offering RSA public key: /home/ansible/.ssh/id_rsa\r\ndebug3: send_pubkey_test\r\ndebug2: we sent a publickey packet, wait for reply\r\ndebug1: Server accepts key: pkalg ssh-rsa blen 279\r\ndebug2: input_userauth_pk_ok: fp d0:39:a6:93:60:52:b7:41:da:82:94:06:11:e4:0c:4a\r\ndebug3: sign_and_send_pubkey: RSA d0:39:a6:93:60:52:b7:41:da:82:94:06:11:e4:0c:4a\r\ndebug1: key_parse_private2: missing begin marker\r\ndebug1: read PEM private key done: type RSA\r\ndebug1: Enabling compression at level 6.\r\ndebug1: Authentication succeeded (publickey).\r\nAuthenticated to 10.10.0.5 ([10.10.0.5]:22).\r\ndebug1: setting up multiplex master socket\r\ndebug3: muxserver_listen: temporary control path /home/ansible/.ansible/cp/18a7933194.ZBpPvwvR5fDRUSUM\r\ndebug2: fd 4 setting O_NONBLOCK\r\ndebug3: fd 4 is O_NONBLOCK\r\ndebug3: fd 4 is O_NONBLOCK\r\ndebug1: channel 0: new [/home/ansible/.ansible/cp/18a7933194]\r\ndebug3: muxserver_listen: mux listener channel 0 fd 4\r\ndebug2: fd 3 setting TCP_NODELAY\r\ndebug3: packet_set_tos: set IP_TOS 0x08\r\ndebug1: control_persist_detach: backgrounding master process\r\ndebug2: control_persist_detach: background process is 9673\r\ndebug2: fd 4 setting O_NONBLOCK\r\ndebug1: forking to background\r\ndebug1: Entering interactive session.\r\ndebug2: set_control_persist_exit_time: schedule exit in 60 seconds\r\ndebug1: multiplexing control connection\r\ndebug2: fd 5 setting O_NONBLOCK\r\ndebug3: fd 5 is O_NONBLOCK\r\ndebug1: channel 1: new [mux-control]\r\ndebug3: channel_post_mux_listener: new mux channel 1 fd 5\r\ndebug3: mux_master_read_cb: channel 1: hello sent\r\ndebug2: set_control_persist_exit_time: cancel scheduled exit\r\ndebug3: mux_master_read_cb: channel 1 packet type 0x00000001 len 4\r\ndebug2: process_mux_master_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: process_mux_alive_check: channel 1: alive check\r\ndebug3: mux_client_request_alive: done pid = 9675\r\ndebug3: mux_client_request_session: session request sent\r\ndebug3: mux_master_read_cb: channel 1 packet type 0x10000002 len 91\r\ndebug2: process_mux_new_session: channel 1: request tty 0, X 0, agent 0, subsys 0, term “xterm”, cmd “/bin/sh -c 'echo ~ && sleep 0'”, env 1\r\ndebug3: process_mux_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: process_mux_new_session: channel_new: 2 linked to control channel 1\r\ndebug2: channel 2: send open\r\ndebug2: 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\ndebug1: Sending command: /bin/sh -c 'echo ~ && sleep 0'\r\ndebug2: channel 2: request exec confirm 1\r\ndebug3: mux_session_confirm: sending success reply\r\ndebug2: callback done\r\ndebug2: channel 2: open confirm rwindow 0 rmax 32768\r\ndebug1: mux_client_request_session: master session id: 2\r\ndebug2: channel 2: rcvd adjust 2097152\r\ndebug2: channel_input_status_confirm: type 99 id 2\r\ndebug2: exec request accepted on channel 2\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\ndebug1: client_input_channel_req: channel 2 rtype eow@openssh.com reply 0\r\ndebug2: channel 2: rcvd eow\r\ndebug2: channel 2: close_read\r\ndebug2: channel 2: input open → closed\r\ndebug2: channel 2: rcvd eof\r\ndebug2: channel 2: output open → drain\r\ndebug2: channel 2: obuf empty\r\ndebug2: channel 2: close_write\r\ndebug2: channel 2: output drain → closed\r\ndebug2: channel 2: rcvd close\r\ndebug3: channel 2: will not send data after close\r\ndebug2: channel 2: send close\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: close_read\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 #2 client-session (t4 r0 i3/0 o3/0 fd -1/-1 cc -1)\r\n\r\ndebug2: channel 1: obuf empty\r\ndebug2: channel 1: close_write\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\r\ndebug2: set_control_persist_exit_time: schedule exit in 60 seconds\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n’)
<10.10.0.5> ESTABLISH SSH CONNECTION FOR USER: ansible
<10.10.0.5> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=ansible -o ConnectTimeout=10 -o ControlPath=/home/ansible/.ansible/cp/18a7933194 10.10.0.5 '/bin/sh -c '”‘"’( umask 77 && mkdir -p “echo /home/ansible/.ansible/tmp/ansible-tmp-1499099078.29-115031074803073” && echo ansible-tmp-1499099078.29-115031074803073=“echo /home/ansible/.ansible/tmp/ansible-tmp-1499099078.29-115031074803073” ) && sleep 0’“'”‘’
<10.10.0.5> (0, ‘ansible-tmp-1499099078.29-115031074803073=/home/ansible/.ansible/tmp/ansible-tmp-1499099078.29-115031074803073\n’, ‘OpenSSH_6.6.1, OpenSSL 1.0.1e-fips 11 Feb 2013\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 56: Applying options for \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 = 9675\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n’)
<10.10.0.5> PUT /tmp/tmpLBpOYC TO /home/ansible/.ansible/tmp/ansible-tmp-1499099078.29-115031074803073/setup.py
<10.10.0.5> SSH: EXEC sftp -b - -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=ansible -o ConnectTimeout=10 -o ControlPath=/home/ansible/.ansible/cp/18a7933194 ‘[10.10.0.5]’
<10.10.0.5> (0, ‘sftp> put /tmp/tmpLBpOYC /home/ansible/.ansible/tmp/ansible-tmp-1499099078.29-115031074803073/setup.py\n’, 'OpenSSH_6.6.1, OpenSSL 1.0.1e-fips 11 Feb 2013\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 56: Applying options for \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 = 9675\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\ndebug2: Remote version: 3\r\ndebug2: Server supports extension “posix-rename@openssh.com” revision 1\r\ndebug2: Server supports extension “statvfs@openssh.com” revision 2\r\ndebug2: Server supports extension “fstatvfs@openssh.com” revision 2\r\ndebug2: Server supports extension “hardlink@openssh.com” revision 1\r\ndebug2: Server supports extension “fsync@openssh.com” revision 1\r\ndebug3: Sent message fd 6 T:16 I:1\r\ndebug3: SSH_FXP_REALPATH . → /home/ansible size 0\r\ndebug3: Looking up /tmp/tmpLBpOYC\r\ndebug3: Sent message fd 6 T:17 I:2\r\ndebug3: Received stat reply T:101 I:2\r\ndebug1: Couldn't stat remote file: No such file or directory\r\ndebug3: Sent message SSH2_FXP_OPEN I:3 P:/home/ansible/.ansible/tmp/ansible-tmp-1499099078.29-115031074803073/setup.py\r\ndebug3: Sent message SSH2_FXP_WRITE I:4 O:0 S:32768\r\ndebug3: SSH2_FXP_STATUS 0\r\ndebug3: In write loop, ack for 4 32768 bytes at 0\r\ndebug3: Sent message SSH2_FXP_WRITE I:5 O:32768 S:32768\r\ndebug3: Sent message SSH2_FXP_WRITE I:6 O:65536 S:32768\r\ndebug3: Sent message SSH2_FXP_WRITE I:7 O:98304 S:5247\r\ndebug3: SSH2_FXP_STATUS 0\r\ndebug3: In write loop, ack for 5 32768 bytes at 32768\r\ndebug3: SSH2_FXP_STATUS 0\r\ndebug3: In write loop, ack for 6 32768 bytes at 65536\r\ndebug3: SSH2_FXP_STATUS 0\r\ndebug3: In write loop, ack for 7 5247 bytes at 98304\r\ndebug3: Sent message SSH2_FXP_CLOSE I:4\r\ndebug3: SSH2_FXP_STATUS 0\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n’)
<10.10.0.5> ESTABLISH SSH CONNECTION FOR USER: ansible
<10.10.0.5> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=ansible -o ConnectTimeout=10 -o ControlPath=/home/ansible/.ansible/cp/18a7933194 10.10.0.5 ‘/bin/sh -c ‘"’“‘chmod u+x /home/ansible/.ansible/tmp/ansible-tmp-1499099078.29-115031074803073/ /home/ansible/.ansible/tmp/ansible-tmp-1499099078.29-115031074803073/setup.py && sleep 0’”’“‘’
<10.10.0.5> (0, ‘’, 'OpenSSH_6.6.1, OpenSSL 1.0.1e-fips 11 Feb 2013\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 56: Applying options for \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 = 9675\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n’)
<10.10.0.5> ESTABLISH SSH CONNECTION FOR USER: ansible
<10.10.0.5> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=ansible -o ConnectTimeout=10 -o ControlPath=/home/ansible/.ansible/cp/18a7933194 -tt 10.10.0.5 ‘/bin/sh -c ‘"’“'sudo -H -S -n -u root /bin/sh -c '”’“'”‘"’“'”‘"’“‘echo BECOME-SUCCESS-dxxjyqgklwljnnxldtnazwguszzucbiy; /usr/bin/python /home/ansible/.ansible/tmp/ansible-tmp-1499099078.29-115031074803073/setup.py; rm -rf “/home/ansible/.ansible/tmp/ansible-tmp-1499099078.29-115031074803073/” > /dev/null 2>&1’”‘"’“'”‘"’“'”‘"’ && sleep 0’“'”‘’
<10.10.0.5> (0, '\r\n{“invocation”: {“module_args”: {“filter”: "
”, “gather_subset”: [“all”], “fact_path”: “/etc/ansible/facts.d”, “gather_timeout”: 10}}, “changed”: false, “ansible_facts”: {“ansible_product_serial”: “VMware-56 4d b0 19 b5 0a 8a e0-33 b5 ea 90 d6 b1 ff 11”, “ansible_form_factor”: “Other”, “ansible_product_version”: “None”, “ansible_fips”: false, “ansible_service_mgr”: “systemd”, “ansible_user_id”: “root”, “module_setup”: true, “ansible_memtotal_mb”: 1823, “ansible_ssh_host_key_ecdsa_public”: “AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBJGQxW4ZBkeIzNeWhBYGnibh3xaMoZwsOImqvUIKm+VM3bE/d+dQcen1d3KBLcdFBEW1JT3/in+oQA4MGqVlcEA=”, “ansible_distribution_version”: “7.3.1611”, “ansible_domain”: “”, “ansible_date_time”: {“weekday_number”: “1”, “iso8601_basic_short”: “20170703T092439”, “tz”: “PDT”, “weeknumber”: “27”, “hour”: “09”, “year”: “2017”, “minute”: “24”, “tz_offset”: “-0700”, “month”: “07”, “epoch”: “1499099079”, “iso8601_micro”: “2017-07-03T16:24:39.098584Z”, “weekday”: “Monday”, “time”: “09:24:39”, “date”: “2017-07-03”, “iso8601”: “2017-07-03T16:24:39Z”, “day”: “03”, “iso8601_basic”: “20170703T092439098510”, “second”: “39”}, “ansible_ssh_host_key_ed25519_public”: “AAAAC3NzaC1lZDI1NTE5AAAAIAPBxTwPe+NBcreNo4nHVmjnh/NqXhzIJ7ct4yQsGKvd”, “ansible_processor_cores”: 2, “ansible_virtualization_role”: “guest”, “ansible_dns”: {“nameservers”: [“192.168.75.2”, “10.10.0.1”], “search”: [“localdomain”]}, “ansible_processor_vcpus”: 4, “ansible_bios_version”: “6.00”, “ansible_processor”: [“GenuineIntel”, “Intel(R) Core™ i7-6500U CPU @ 2.50GHz”, “GenuineIntel”, “Intel(R) Core™ i7-6500U CPU @ 2.50GHz”, “GenuineIntel”, “Intel(R) Core™ i7-6500U CPU @ 2.50GHz”, “GenuineIntel”, “Intel(R) Core™ i7-6500U CPU @ 2.50GHz”], “ansible_virtualization_type”: “VMware”, “ansible_lo”: {“features”: {“tx_checksum_ipv4”: “off [fixed]”, “generic_receive_offload”: “on”, “tx_checksum_ipv6”: “off [fixed]”, “tx_scatter_gather_fraglist”: “on [fixed]”, “rx_all”: “off [fixed]”, “highdma”: “on [fixed]”, “rx_fcs”: “off [fixed]”, “tx_lockless”: “on [fixed]”, “tx_tcp_ecn_segmentation”: “on”, “tx_tcp6_segmentation”: “on”, “tx_gso_robust”: “off [fixed]”, “tx_ipip_segmentation”: “off [fixed]”, “tx_checksumming”: “on”, “vlan_challenged”: “on [fixed]”, “loopback”: “on [fixed]”, “fcoe_mtu”: “off [fixed]”, “scatter_gather”: “on”, “tx_checksum_sctp”: “on [fixed]”, “tx_vlan_stag_hw_insert”: “off [fixed]”, “rx_vlan_stag_hw_parse”: “off [fixed]”, “rx_vlan_stag_filter”: “off [fixed]”, “large_receive_offload”: “off [fixed]”, “tx_scatter_gather”: “on [fixed]”, “rx_checksumming”: “on [fixed]”, “tx_tcp_segmentation”: “on”, “netns_local”: “on [fixed]”, “busy_poll”: “off [fixed]”, “generic_segmentation_offload”: “on”, “tx_udp_tnl_segmentation”: “off [fixed]”, “tcp_segmentation_offload”: “on”, “l2_fwd_offload”: “off [fixed]”, “rx_vlan_offload”: “off [fixed]”, “ntuple_filters”: “off [fixed]”, “tx_vlan_offload”: “off [fixed]”, “tx_nocache_copy”: “off [fixed]”, “tx_mpls_segmentation”: “off [fixed]”, “udp_fragmentation_offload”: “on”, “tx_sctp_segmentation”: “on”, “tx_sit_segmentation”: “off [fixed]”, “tx_checksum_fcoe_crc”: “off [fixed]”, “hw_tc_offload”: “off [fixed]”, “tx_checksum_ip_generic”: “on [fixed]”, “tx_fcoe_segmentation”: “off [fixed]”, “rx_vlan_filter”: “off [fixed]”, “receive_hashing”: “off [fixed]”, “tx_gre_segmentation”: “off [fixed]”}, “mtu”: 65536, “device”: “lo”, “promisc”: false, “ipv4”: {“broadcast”: “host”, “netmask”: “255.0.0.0”, “network”: “127.0.0.0”, “address”: “127.0.0.1”}, “ipv6”: [{“scope”: “host”, “prefix”: “128”, “address”: “::1”}], “active”: true, “type”: “loopback”}, “ansible_userspace_bits”: “64”, “ansible_architecture”: “x86_64”, “ansible_real_user_id”: 0, “ansible_default_ipv4”: {“macaddress”: “00:0c:29:b1:ff:11”, “network”: “192.168.75.0”, “mtu”: 1500, “broadcast”: “192.168.75.255”, “alias”: “ens33”, “netmask”: “255.255.255.0”, “address”: “192.168.75.197”, “interface”: “ens33”, “type”: “ether”, “gateway”: “192.168.75.2”}, “ansible_swapfree_mb”: 2048, “ansible_default_ipv6”: {}, “ansible_distribution_release”: “Core”, “ansible_system_vendor”: “VMware, Inc.”, “ansible_os_family”: “RedHat”, “ansible_cmdline”: {“LANG”: “en_US.UTF-8”, “BOOT_IMAGE”: “/vmlinuz-3.10.0-514.el7.x86_64”, “quiet”: true, “rhgb”: true, “crashkernel”: “auto”, “ro”: true, “root”: “UUID=dc01a35f-4377-4dca-b5dd-8e193d37ba95”}, “ansible_effective_user_id”: 0, “ansible_mounts”: [{“uuid”: “dc01a35f-4377-4dca-b5dd-8e193d37ba95”, “size_total”: 29733576704, “mount”: “/”, “size_available”: 24541376512, “fstype”: “xfs”, “device”: “/dev/sda3”, “options”: “rw,seclabel,relatime,attr2,inode64,noquota”}, {“uuid”: “352381f4-4916-4cbb-96ef-74a3ab132be0”, “size_total”: 311070720, “mount”: “/boot”, “size_available”: 152371200, “fstype”: “xfs”, “device”: “/dev/sda1”, “options”: “rw,seclabel,relatime,attr2,inode64,noquota”}], “ansible_selinux”: {“status”: “enabled”, “policyvers”: 28, “type”: “targeted”, “mode”: “enforcing”, “config_mode”: “enforcing”}, “ansible_apparmor”: {“status”: “disabled”}, “ansible_userspace_architecture”: “x86_64”, “ansible_bios_date”: “05/20/2014”, “ansible_product_uuid”: “564DB019-B50A-8AE0-33B5-EA90D6B1FF11”, “ansible_kernel”: “3.10.0-514.el7.x86_64”, “ansible_product_name”: “VMware Virtual Platform”, “ansible_pkg_mgr”: “yum”, “ansible_memfree_mb”: 73, “ansible_devices”: {“fd0”: {“scheduler_mode”: “deadline”, “rotational”: “1”, “vendor”: null, “sectors”: “8”, “sas_device_handle”: null, “sas_address”: null, “host”: “”, “sectorsize”: “512”, “removable”: “1”, “support_discard”: “0”, “model”: null, “partitions”: {}, “holders”: [], “size”: “4.00 KB”}, “sr0”: {“scheduler_mode”: “cfq”, “rotational”: “1”, “vendor”: “NECVMWar”, “sectors”: “2097151”, “sas_device_handle”: null, “sas_address”: null, “host”: “IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE (rev 01)”, “sectorsize”: “512”, “removable”: “1”, “support_discard”: “0”, “model”: “VMware IDE CDR10”, “partitions”: {}, “holders”: [], “size”: “1024.00 MB”}, “sda”: {“scheduler_mode”: “deadline”, “rotational”: “1”, “vendor”: “VMware,”, “sectors”: “62914560”, “sas_device_handle”: null, “sas_address”: null, “host”: “SCSI storage controller: LSI Logic / Symbios Logic 53c1030 PCI-X Fusion-MPT Dual Ultra320 SCSI (rev 01)”, “sectorsize”: “512”, “removable”: “0”, “support_discard”: “0”, “model”: “VMware Virtual S”, “partitions”: {“sda2”: {“sectorsize”: 512, “uuid”: “daf7e27b-37b3-4233-92d6-5aa037a23880”, “sectors”: “4196352”, “start”: “616448”, “holders”: [], “size”: “2.00 GB”}, “sda3”: {“sectorsize”: 512, “uuid”: “dc01a35f-4377-4dca-b5dd-8e193d37ba95”, “sectors”: “58101760”, “start”: “4812800”, “holders”: [], “size”: “27.71 GB”}, “sda1”: {“sectorsize”: 512, “uuid”: “352381f4-4916-4cbb-96ef-74a3ab132be0”, “sectors”: “614400”, “start”: “2048”, “holders”: [], “size”: “300.00 MB”}}, “holders”: [], “size”: “30.00 GB”}}, “ansible_user_uid”: 0, “ansible_lvm”: {“lvs”: {}, “vgs”: {}}, “ansible_distribution”: “CentOS”, “ansible_env”: {“USERNAME”: “root”, “LANG”: “en_US.UTF-8”, “TERM”: “xterm”, “SHELL”: “/bin/bash”, “SUDO_COMMAND”: “/bin/sh -c echo BECOME-SUCCESS-dxxjyqgklwljnnxldtnazwguszzucbiy; /usr/bin/python /home/ansible/.ansible/tmp/ansible-tmp-1499099078.29-115031074803073/setup.py; rm -rf \”/home/ansible/.ansible/tmp/ansible-tmp-1499099078.29-115031074803073/\" > /dev/null 2>&1", “SHLVL”: “1”, “SUDO_UID”: “1001”, “SUDO_GID”: “1001”, “PWD”: “/home/ansible”, “LOGNAME”: “root”, “USER”: “root”, “PATH”: “/sbin:/bin:/usr/sbin:/usr/bin”, “MAIL”: “/var/mail/ansible”, “SUDO_USER”: “ansible”, “LS_COLORS”: "rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:
.tar=01;31:
.tgz=01;31:.arc=01;31:.arj=01;31:.taz=01;31:.lha=01;31:.lz4=01;31:.lzh=01;31:.lzma=01;31:.tlz=01;31:.txz=01;31:.tzo=01;31:.t7z=01;31:.zip=01;31:.z=01;31:.Z=01;31:.dz=01;31:.gz=01;31:.lrz=01;31:.lz=01;31:.lzo=01;31:.xz=01;31:.bz2=01;31:.bz=01;31:.tbz=01;31:.tbz2=01;31:.tz=01;31:.deb=01;31:.rpm=01;31:.jar=01;31:.war=01;31:.ear=01;31:.sar=01;31:.rar=01;31:.alz=01;31:.ace=01;31:.zoo=01;31:.cpio=01;31:.7z=01;31:.rz=01;31:.cab=01;31:.jpg=01;35:.jpeg=01;35:.gif=01;35:.bmp=01;35:.pbm=01;35:.pgm=01;35:.ppm=01;35:.tga=01;35:.xbm=01;35:.xpm=01;35:.tif=01;35:.tiff=01;35:.png=01;35:.svg=01;35:.svgz=01;35:.mng=01;35:.pcx=01;35:.mov=01;35:.mpg=01;35:.mpeg=01;35:.m2v=01;35:.mkv=01;35:.webm=01;35:.ogm=01;35:.mp4=01;35:.m4v=01;35:.mp4v=01;35:.vob=01;35:.qt=01;35:.nuv=01;35:.wmv=01;35:.asf=01;35:.rm=01;35:.rmvb=01;35:.flc=01;35:.avi=01;35:.fli=01;35:.flv=01;35:.gl=01;35:.dl=01;35:.xcf=01;35:.xwd=01;35:.yuv=01;35:.cgm=01;35:.emf=01;35:.axv=01;35:.anx=01;35:.ogv=01;35:.ogx=01;35:.aac=01;36:.au=01;36:.flac=01;36:.mid=01;36:.midi=01;36:.mka=01;36:.mp3=01;36:.mpc=01;36:.ogg=01;36:.ra=01;36:.wav=01;36:.axa=01;36:.oga=01;36:.spx=01;36:*.xspf=01;36:", “HOME”: “/root”, “_”: “/usr/bin/python”}, “ansible_distribution_major_version”: “7”, “ansible_user_dir”: “/root”, “ansible_processor_count”: 2, “ansible_hostname”: “ansibleagent”, “ansible_effective_group_id”: 0, “ansible_swaptotal_mb”: 2048, “ansible_real_group_id”: 0, “ansible_virbr0”: {“macaddress”: “52:54:00:29:2d:86”, “features”: {“tx_checksum_ipv4”: “off [fixed]”, “generic_receive_offload”: “on”, “tx_checksum_ipv6”: “off [fixed]”, “tx_scatter_gather_fraglist”: “on”, “rx_all”: “off [fixed]”, “highdma”: “off [requested on]”, “rx_fcs”: “off [fixed]”, “tx_lockless”: “on [fixed]”, “tx_tcp_ecn_segmentation”: “off [requested on]”, “tx_tcp6_segmentation”: “off [requested on]”, “tx_gso_robust”: “off [requested on]”, “tx_ipip_segmentation”: “on”, “tx_checksumming”: “on”, “vlan_challenged”: “off [fixed]”, “loopback”: “off [fixed]”, “fcoe_mtu”: “off [fixed]”, “scatter_gather”: “on”, “tx_checksum_sctp”: “off [fixed]”, “tx_vlan_stag_hw_insert”: “off [fixed]”, “rx_vlan_stag_hw_parse”: “off [fixed]”, “rx_vlan_stag_filter”: “off [fixed]”, “large_receive_offload”: “off [fixed]”, “tx_scatter_gather”: “on”, “rx_checksumming”: “off [fixed]”, “tx_tcp_segmentation”: “off [requested on]”, “netns_local”: “on [fixed]”, “busy_poll”: “off [fixed]”, “generic_segmentation_offload”: “on”, “tx_udp_tnl_segmentation”: “on”, “tcp_segmentation_offload”: “off”, “l2_fwd_offload”: “off [fixed]”, “rx_vlan_offload”: “off [fixed]”, “ntuple_filters”: “off [fixed]”, “tx_vlan_offload”: “on”, “tx_nocache_copy”: “off”, “tx_mpls_segmentation”: “on”, “udp_fragmentation_offload”: “off [requested on]”, “tx_sctp_segmentation”: “off [requested on]”, “tx_sit_segmentation”: “on”, “tx_checksum_fcoe_crc”: “off [fixed]”, “hw_tc_offload”: “off [fixed]”, “tx_checksum_ip_generic”: “on”, “tx_fcoe_segmentation”: “off [requested on]”, “rx_vlan_filter”: “off [fixed]”, “receive_hashing”: “off [fixed]”, “tx_gre_segmentation”: “on”}, “interfaces”: [“virbr0-nic”], “mtu”: 1500, “device”: “virbr0”, “promisc”: false, “stp”: true, “ipv4”: {“broadcast”: “192.168.122.255”, “netmask”: “255.255.255.0”, “network”: “192.168.122.0”, “address”: “192.168.122.1”}, “active”: false, “type”: “bridge”, “id”: “8000.525400292d86”}, “ansible_ens33”: {“macaddress”: “00:0c:29:b1:ff:11”, “features”: {“tx_checksum_ipv4”: “off [fixed]”, “generic_receive_offload”: “on”, “tx_checksum_ipv6”: “off [fixed]”, “tx_scatter_gather_fraglist”: “off [fixed]”, “rx_all”: “off”, “highdma”: “off [fixed]”, “rx_fcs”: “off”, “tx_lockless”: “off [fixed]”, “tx_tcp_ecn_segmentation”: “off [fixed]”, “tx_tcp6_segmentation”: “off [fixed]”, “tx_gso_robust”: “off [fixed]”, “tx_ipip_segmentation”: “off [fixed]”, “tx_checksumming”: “on”, “vlan_challenged”: “off [fixed]”, “loopback”: “off [fixed]”, “fcoe_mtu”: “off [fixed]”, “scatter_gather”: “on”, “tx_checksum_sctp”: “off [fixed]”, “tx_vlan_stag_hw_insert”: “off [fixed]”, “rx_vlan_stag_hw_parse”: “off [fixed]”, “rx_vlan_stag_filter”: “off [fixed]”, “large_receive_offload”: “off [fixed]”, “tx_scatter_gather”: “on”, “rx_checksumming”: “off”, “tx_tcp_segmentation”: “on”, “netns_local”: “off [fixed]”, “busy_poll”: “off [fixed]”, “generic_segmentation_offload”: “on”, “tx_udp_tnl_segmentation”: “off [fixed]”, “tcp_segmentation_offload”: “on”, “l2_fwd_offload”: “off [fixed]”, “rx_vlan_offload”: “on”, “ntuple_filters”: “off [fixed]”, “tx_vlan_offload”: “on [fixed]”, “tx_nocache_copy”: “off”, “tx_mpls_segmentation”: “off [fixed]”, “udp_fragmentation_offload”: “off [fixed]”, “tx_sctp_segmentation”: “off [fixed]”, “tx_sit_segmentation”: “off [fixed]”, “tx_checksum_fcoe_crc”: “off [fixed]”, “hw_tc_offload”: “off [fixed]”, “tx_checksum_ip_generic”: “on”, “tx_fcoe_segmentation”: “off [fixed]”, “rx_vlan_filter”: “on [fixed]”, “receive_hashing”: “off [fixed]”, “tx_gre_segmentation”: “off [fixed]”}, “type”: “ether”, “pciid”: “0000:02:01.0”, “module”: “e1000”, “mtu”: 1500, “device”: “ens33”, “promisc”: false, “ipv4”: {“broadcast”: “192.168.75.255”, “netmask”: “255.255.255.0”, “network”: “192.168.75.0”, “address”: “192.168.75.197”}, “ipv6”: [{“scope”: “link”, “prefix”: “64”, “address”: “fe80::ea4a:301d:c90d:7e94”}], “active”: true, “speed”: 1000}, “ansible_all_ipv6_addresses”: [“fe80::e5d:8ed8:d7cb:fca7”, “fe80::ea4a:301d:c90d:7e94”], “ansible_interfaces”: [“lo”, “virbr0”, “ens37”, “virbr0-nic”, “ens33”], “ansible_ens37”: {“macaddress”: “00:0c:29:b1:ff:1b”, “features”: {“tx_checksum_ipv4”: “off [fixed]”, “generic_receive_offload”: “on”, “tx_checksum_ipv6”: “off [fixed]”, “tx_scatter_gather_fraglist”: “off [fixed]”, “rx_all”: “off”, “highdma”: “off [fixed]”, “rx_fcs”: “off”, “tx_lockless”: “off [fixed]”, “tx_tcp_ecn_segmentation”: “off [fixed]”, “tx_tcp6_segmentation”: “off [fixed]”, “tx_gso_robust”: “off [fixed]”, “tx_ipip_segmentation”: “off [fixed]”, “tx_checksumming”: “on”, “vlan_challenged”: “off [fixed]”, “loopback”: “off [fixed]”, “fcoe_mtu”: “off [fixed]”, “scatter_gather”: “on”, “tx_checksum_sctp”: “off [fixed]”, “tx_vlan_stag_hw_insert”: “off [fixed]”, “rx_vlan_stag_hw_parse”: “off [fixed]”, “rx_vlan_stag_filter”: “off [fixed]”, “large_receive_offload”: “off [fixed]”, “tx_scatter_gather”: “on”, “rx_checksumming”: “off”, “tx_tcp_segmentation”: “on”, “netns_local”: “off [fixed]”, “busy_poll”: “off [fixed]”, “generic_segmentation_offload”: “on”, “tx_udp_tnl_segmentation”: “off [fixed]”, “tcp_segmentation_offload”: “on”, “l2_fwd_offload”: “off [fixed]”, “rx_vlan_offload”: “on”, “ntuple_filters”: “off [fixed]”, “tx_vlan_offload”: “on [fixed]”, “tx_nocache_copy”: “off”, “tx_mpls_segmentation”: “off [fixed]”, “udp_fragmentation_offload”: “off [fixed]”, “tx_sctp_segmentation”: “off [fixed]”, “tx_sit_segmentation”: “off [fixed]”, “tx_checksum_fcoe_crc”: “off [fixed]”, “hw_tc_offload”: “off [fixed]”, “tx_checksum_ip_generic”: “on”, “tx_fcoe_segmentation”: “off [fixed]”, “rx_vlan_filter”: “on [fixed]”, “receive_hashing”: “off [fixed]”, “tx_gre_segmentation”: “off [fixed]”}, “type”: “ether”, “pciid”: “0000:02:05.0”, “module”: “e1000”, “mtu”: 1500, “device”: “ens37”, “promisc”: false, “ipv4”: {“broadcast”: “10.10.255.255”, “netmask”: “255.255.0.0”, “network”: “10.10.0.0”, “address”: “10.10.0.5”}, “ipv6”: [{“scope”: “link”, “prefix”: “64”, “address”: “fe80::e5d:8ed8:d7cb:fca7”}], “active”: true, “speed”: 1000}, “ansible_uptime_seconds”: 7026, “ansible_machine_id”: “b04df09bc96c460ba80c0d4f3ed8c1b8”, “ansible_ssh_host_key_rsa_public”: “AAAAB3NzaC1yc2EAAAADAQABAAABAQDSYk/mwe2r/X7uHBZ0svpXZIFR/29VOWINXNECb1+SgN9+m3WWs7ZKDcvqhaJsb7rL8T6QNp2tsZmS/nOv0tjaJz98s+fj7hC/atim4hQTGQOksoud9x7Y8PXyDy+Iu3fU7GUtwQ3l3a9Ix6/marxTKYlwU1cxcHj3QuH27T9nOnnhfBwlM6NOtqu1Q3THQBRaOhjt45NuydzpnFurZZmCril84G83Xr7jI+VL1czWiwIjW9kRZgMtcJsroqAnVsk+HFp5lKs7gVoMQd2PtJUA4rXPWdI2Ya9ZiDlqokb58rxOSZTQaJYNOL3N7nV366YxWC9zd7ZKVPbS5rpW/jGl”, “ansible_gather_subset”: [“hardware”, “network”, “virtual”], “ansible_user_gecos”: “root”, “ansible_system_capabilities_enforced”: “True”, “ansible_python”: {“executable”: “/usr/bin/python”, “version”: {“micro”: 5, “major”: 2, “releaselevel”: “final”, “serial”: 0, “minor”: 7}, “type”: “CPython”, “has_sslcontext”: true, “version_info”: [2, 7, 5, “final”, 0]}, “ansible_machine”: “x86_64”, “ansible_processor_threads_per_core”: 1, “ansible_fqdn”: “ansibleagent”, “ansible_user_gid”: 0, “ansible_memory_mb”: {“real”: {“total”: 1823, “used”: 1750, “free”: 73}, “swap”: {“cached”: 0, “total”: 2048, “free”: 2048, “used”: 0}, “nocache”: {“used”: 900, “free”: 923}}, “ansible_nodename”: “ansibleagent”, “ansible_system”: “Linux”, “ansible_user_shell”: “/bin/bash”, “ansible_system_capabilities”: [“cap_chown”, “cap_dac_override”, “cap_dac_read_search”, “cap_fowner”, “cap_fsetid”, “cap_kill”, “cap_setgid”, “cap_setuid”, “cap_setpcap”, “cap_linux_immutable”, “cap_net_bind_service”, “cap_net_broadcast”, “cap_net_admin”, “cap_net_raw”, “cap_ipc_lock”, “cap_ipc_owner”, “cap_sys_module”, “cap_sys_rawio”, “cap_sys_chroot”, “cap_sys_ptrace”, “cap_sys_pacct”, “cap_sys_admin”, “cap_sys_boot”, “cap_sys_nice”, “cap_sys_resource”, “cap_sys_time”, “cap_sys_tty_config”, “cap_mknod”, “cap_lease”, “cap_audit_write”, “cap_audit_control”, “cap_setfcap”, “cap_mac_override”, “cap_mac_admin”, “cap_syslog”, “35”, “36+ep”], “ansible_virbr0_nic”: {“macaddress”: “52:54:00:29:2d:86”, “features”: {“tx_checksum_ipv4”: “off [fixed]”, “generic_receive_offload”: “on”, “tx_checksum_ipv6”: “off [fixed]”, “tx_scatter_gather_fraglist”: “on”, “rx_all”: “off [fixed]”, “highdma”: “off [fixed]”, “rx_fcs”: “off [fixed]”, “tx_lockless”: “on [fixed]”, “tx_tcp_ecn_segmentation”: “off [requested on]”, “tx_tcp6_segmentation”: “off [requested on]”, “tx_gso_robust”: “off [fixed]”, “tx_ipip_segmentation”: “off [fixed]”, “tx_checksumming”: “off”, “vlan_challenged”: “off [fixed]”, “loopback”: “off [fixed]”, “fcoe_mtu”: “off [fixed]”, “scatter_gather”: “on”, “tx_checksum_sctp”: “off [fixed]”, “tx_vlan_stag_hw_insert”: “on”, “rx_vlan_stag_hw_parse”: “off [fixed]”, “rx_vlan_stag_filter”: “off [fixed]”, “large_receive_offload”: “off [fixed]”, “tx_scatter_gather”: “on”, “rx_checksumming”: “off [fixed]”, “tx_tcp_segmentation”: “off [requested on]”, “netns_local”: “off [fixed]”, “busy_poll”: “off [fixed]”, “generic_segmentation_offload”: “on”, “tx_udp_tnl_segmentation”: “off [fixed]”, “tcp_segmentation_offload”: “off”, “l2_fwd_offload”: “off [fixed]”, “rx_vlan_offload”: “off [fixed]”, “ntuple_filters”: “off [fixed]”, “tx_vlan_offload”: “on”, “tx_nocache_copy”: “off”, “tx_mpls_segmentation”: “off [fixed]”, “udp_fragmentation_offload”: “off [requested on]”, “tx_sctp_segmentation”: “off [fixed]”, “tx_sit_segmentation”: “off [fixed]”, “tx_checksum_fcoe_crc”: “off [fixed]”, “hw_tc_offload”: “off [fixed]”, “tx_checksum_ip_generic”: “off [requested on]”, “tx_fcoe_segmentation”: “off [fixed]”, “rx_vlan_filter”: “off [fixed]”, “receive_hashing”: “off [fixed]”, “tx_gre_segmentation”: “off [fixed]”}, “mtu”: 1500, “device”: “virbr0-nic”, “promisc”: true, “active”: false, “type”: “ether”}, “ansible_all_ipv4_addresses”: [“192.168.122.1”, “10.10.0.5”, “192.168.75.197”], “ansible_python_version”: “2.7.5”}}\r\n’, ‘OpenSSH_6.6.1, OpenSSL 1.0.1e-fips 11 Feb 2013\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 56: Applying options for *\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 = 9675\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\nShared connection to 10.10.0.5 closed.\r\n’)
ok: [10.10.0.5]
META: ran handlers

TASK [get url example from the target and download] **************************************************************************************
task path: /etc/ansible/playbooks/exercises/geturl.yml:6
Using module file /usr/lib/python2.7/site-packages/ansible/modules/network/basics/get_url.py
<10.10.0.5> ESTABLISH SSH CONNECTION FOR USER: ansible
<10.10.0.5> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=ansible -o ConnectTimeout=10 -o ControlPath=/home/ansible/.ansible/cp/18a7933194 10.10.0.5 ‘/bin/sh -c ‘"’“‘echo ~ && sleep 0’”’“‘’
<10.10.0.5> (0, ‘/home/ansible\n’, ‘OpenSSH_6.6.1, OpenSSL 1.0.1e-fips 11 Feb 2013\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 56: Applying options for *\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 = 9675\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n’)
<10.10.0.5> ESTABLISH SSH CONNECTION FOR USER: ansible
<10.10.0.5> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=ansible -o ConnectTimeout=10 -o ControlPath=/home/ansible/.ansible/cp/18a7933194 10.10.0.5 '/bin/sh -c '”‘"’( umask 77 && mkdir -p “echo /home/ansible/.ansible/tmp/ansible-tmp-1499099079.43-237185934667659” && echo ansible-tmp-1499099079.43-237185934667659=“echo /home/ansible/.ansible/tmp/ansible-tmp-1499099079.43-237185934667659” ) && sleep 0’“'”‘’
<10.10.0.5> (0, ‘ansible-tmp-1499099079.43-237185934667659=/home/ansible/.ansible/tmp/ansible-tmp-1499099079.43-237185934667659\n’, ‘OpenSSH_6.6.1, OpenSSL 1.0.1e-fips 11 Feb 2013\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 56: Applying options for *\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 = 9675\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n’)
<10.10.0.5> PUT /tmp/tmpYMXbqJ TO /home/ansible/.ansible/tmp/ansible-tmp-1499099079.43-237185934667659/get_url.py
<10.10.0.5> SSH: EXEC sftp -b - -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=ansible -o ConnectTimeout=10 -o ControlPath=/home/ansible/.ansible/cp/18a7933194 ‘[10.10.0.5]’
<10.10.0.5> (0, ‘sftp> put /tmp/tmpYMXbqJ /home/ansible/.ansible/tmp/ansible-tmp-1499099079.43-237185934667659/get_url.py\n’, ‘OpenSSH_6.6.1, OpenSSL 1.0.1e-fips 11 Feb 2013\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 56: Applying options for *\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 = 9675\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\ndebug2: Remote version: 3\r\ndebug2: Server supports extension “posix-rename@openssh.com” revision 1\r\ndebug2: Server supports extension “statvfs@openssh.com” revision 2\r\ndebug2: Server supports extension “fstatvfs@openssh.com” revision 2\r\ndebug2: Server supports extension “hardlink@openssh.com” revision 1\r\ndebug2: Server supports extension “fsync@openssh.com” revision 1\r\ndebug3: Sent message fd 6 T:16 I:1\r\ndebug3: SSH_FXP_REALPATH . → /home/ansible size 0\r\ndebug3: Looking up /tmp/tmpYMXbqJ\r\ndebug3: Sent message fd 6 T:17 I:2\r\ndebug3: Received stat reply T:101 I:2\r\ndebug1: Couldn't stat remote file: No such file or directory\r\ndebug3: Sent message SSH2_FXP_OPEN I:3 P:/home/ansible/.ansible/tmp/ansible-tmp-1499099079.43-237185934667659/get_url.py\r\ndebug3: Sent message SSH2_FXP_WRITE I:4 O:0 S:32768\r\ndebug3: SSH2_FXP_STATUS 0\r\ndebug3: In write loop, ack for 4 32768 bytes at 0\r\ndebug3: Sent message SSH2_FXP_WRITE I:5 O:32768 S:32768\r\ndebug3: Sent message SSH2_FXP_WRITE I:6 O:65536 S:14469\r\ndebug3: SSH2_FXP_STATUS 0\r\ndebug3: In write loop, ack for 5 32768 bytes at 32768\r\ndebug3: SSH2_FXP_STATUS 0\r\ndebug3: In write loop, ack for 6 14469 bytes at 65536\r\ndebug3: Sent message SSH2_FXP_CLOSE I:4\r\ndebug3: SSH2_FXP_STATUS 0\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n’)
<10.10.0.5> ESTABLISH SSH CONNECTION FOR USER: ansible
<10.10.0.5> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=ansible -o ConnectTimeout=10 -o ControlPath=/home/ansible/.ansible/cp/18a7933194 10.10.0.5 ‘/bin/sh -c ‘"’“‘chmod u+x /home/ansible/.ansible/tmp/ansible-tmp-1499099079.43-237185934667659/ /home/ansible/.ansible/tmp/ansible-tmp-1499099079.43-237185934667659/get_url.py && sleep 0’”’“‘’
<10.10.0.5> (0, ‘’, ‘OpenSSH_6.6.1, OpenSSL 1.0.1e-fips 11 Feb 2013\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 56: Applying options for *\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 = 9675\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n’)
<10.10.0.5> ESTABLISH SSH CONNECTION FOR USER: ansible
<10.10.0.5> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=ansible -o ConnectTimeout=10 -o ControlPath=/home/ansible/.ansible/cp/18a7933194 -tt 10.10.0.5 '/bin/sh -c '”‘“'sudo -H -S -n -u root /bin/sh -c '”’“'”‘"’“'”‘"’“‘echo BECOME-SUCCESS-brsnnhsoiqfklpaecpcljzecxfgfonbu; /usr/bin/python /home/ansible/.ansible/tmp/ansible-tmp-1499099079.43-237185934667659/get_url.py; rm -rf “/home/ansible/.ansible/tmp/ansible-tmp-1499099079.43-237185934667659/” > /dev/null 2>&1’”‘"’“'”‘"’“'”‘"’ && sleep 0’“'”‘’
<10.10.0.5> (0, ‘\r\n{“src”: “/tmp/tmpDB3rvI”, “changed”: false, “group”: “ansible”, “uid”: 1001, “dest”: “/home/ansible/index.html”, “status_code”: 200, “md5sum”: “460caaa47f13e9a01432a58736f486d7”, “url”: “http://10.10.0.5/index.html”, “state”: “file”, “gid”: 1001, “secontext”: “unconfined_u:object_r:user_home_t:s0”, “mode”: “0755”, “invocation”: {“module_args”: {“directory_mode”: null, “force”: false, “backup”: false, “remote_src”: null, “path”: “/home/ansible/index.html”, “owner”: “ansible”, “follow”: false, “group”: null, “use_proxy”: true, “unsafe_writes”: null, “setype”: null, “content”: null, “serole”: null, “timeout”: 10, “src”: null, “dest”: “/home/ansible”, “selevel”: null, “force_basic_auth”: false, “sha256sum”: “”, “http_agent”: “ansible-httpget”, “regexp”: null, “url_password”: null, “url”: “http://10.10.0.5/index.html”, “checksum”: “”, “seuser”: null, “headers”: null, “delimiter”: null, “mode”: 493, “url_username”: null, “attributes”: null, “validate_certs”: true, “tmp_dest”: “”}}, “owner”: “ansible”, “checksum_src”: “7ae457e77532dad0747bee455c54623a459257e7”, “size”: 35, “checksum_dest”: “7ae457e77532dad0747bee455c54623a459257e7”, “msg”: “OK (35 bytes)”}\r\n’, ‘OpenSSH_6.6.1, OpenSSL 1.0.1e-fips 11 Feb 2013\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 56: Applying options for *\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 = 9675\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\nShared connection to 10.10.0.5 closed.\r\n’)
ok: [10.10.0.5] => {
“changed”: false,
“checksum_dest”: “7ae457e77532dad0747bee455c54623a459257e7”,
“checksum_src”: “7ae457e77532dad0747bee455c54623a459257e7”,
“dest”: “/home/ansible/index.html”,
“gid”: 1001,
“group”: “ansible”,
“invocation”: {
“module_args”: {
“attributes”: null,
“backup”: false,
“checksum”: “”,
“content”: null,
“delimiter”: null,
“dest”: “/home/ansible”,
“directory_mode”: null,
“follow”: false,
“force”: false,
“force_basic_auth”: false,
“group”: null,
“headers”: null,
“http_agent”: “ansible-httpget”,
“mode”: 493,
“owner”: “ansible”,
“path”: “/home/ansible/index.html”,
“regexp”: null,
“remote_src”: null,
“selevel”: null,
“serole”: null,
“setype”: null,
“seuser”: null,
“sha256sum”: “”,
“src”: null,
“timeout”: 10,
“tmp_dest”: “”,
“unsafe_writes”: null,
“url”: “http://10.10.0.5/index.html”,
“url_password”: null,
“url_username”: null,
“use_proxy”: true,
“validate_certs”: true
}
},
“md5sum”: “460caaa47f13e9a01432a58736f486d7”,
“mode”: “0755”,
“msg”: “OK (35 bytes)”,
“owner”: “ansible”,
“secontext”: “unconfined_u:object_r:user_home_t:s0”,
“size”: 35,
“src”: “/tmp/tmpDB3rvI”,
“state”: “file”,
“status_code”: 200,
“uid”: 1001,
“url”: “http://10.10.0.5/index.html
}
META: ran handlers
META: ran handlers

Explain what you're expecting, because this indicates the file is
already downloaded
and the checksum matches. I might be reading it wrong, or have the
wrong end of the stick...?

ok: [10.10.0.5] => {
    "changed": false,
    "checksum_dest": "7ae457e77532dad0747bee455c54623a459257e7",
    "checksum_src": "7ae457e77532dad0747bee455c54623a459257e7",
    "dest": "/home/ansible/index.html",
    "gid": 1001,
    "group": "ansible",
    "invocation": {
        "module_args": {
            "attributes": null,
            "backup": false,
            "checksum": "",
            "content": null,
            "delimiter": null,
            "dest": "/home/ansible",
            "directory_mode": null,
            "follow": false,
            "force": false,
            "force_basic_auth": false,
            "group": null,
            "headers": null,
            "http_agent": "ansible-httpget",
            "mode": 493,
            "owner": "ansible",
            "path": "/home/ansible/index.html",
            "regexp": null,
            "remote_src": null,
            "selevel": null,
            "serole": null,
            "setype": null,
            "seuser": null,
            "sha256sum": "",
            "src": null,
            "timeout": 10,
            "tmp_dest": "",
            "unsafe_writes": null,
            "url": "http://10.10.0.5/index.html&quot;,
            "url_password": null,
            "url_username": null,
            "use_proxy": true,
            "validate_certs": true
        }
    },
    "md5sum": "460caaa47f13e9a01432a58736f486d7",
    "mode": "0755",
    "msg": "OK (35 bytes)",
    "owner": "ansible",
    "secontext": "unconfined_u:object_r:user_home_t:s0",
    "size": 35,
    "src": "/tmp/tmpDB3rvI",
    "state": "file",
    "status_code": 200,
    "uid": 1001,
    "url": "http://10.10.0.5/index.html&quot;
}

msgid/ansible-project/6ff9d96a-e80d-4658-add3-4c6d24e54cdd%40googlegroups.com.

Hi. What I am expecting is just for the file to be downloaded from the remote host to the local (again both vms’)

The output tells me that it has run (and flagged as changed) - but when I look into the local target dir - the file is never there…am I missing something?

The output above seems to be saying that the file /home/ansible/index.html is present on 10.10.0.5.

If you are expecting the file to be re-downloaded each time the playbook runs, then set ‘force: yes’ in your playbook, otherwise it will not attempt to fetch the file again.

Jon

Hi Joe. Yes the file does exist on 10.10.0.5…I thought get-url would download from the target (10.10.0.5) to the local ansible server (My master I am runing the playbook from)

Unless I am misunderstanding how this should work.?

I think so - according to http://docs.ansible.com/ansible/get_url_module.html:

"Downloads files from HTTP, HTTPS, or FTP to the remote server. The
remote server must have direct access to the remote resource."