Re: [ansible-project] get_url runs but doesnt download the file

2017-07-07 Thread Dick Visser
On 7 July 2017 at 21:27, Anfield wrote: > 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 - acco

Re: [ansible-project] get_url runs but doesnt download the file

2017-07-07 Thread Anfield
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.? >> -- You received this message because you are subscribed to

Re: [ansible-project] get_url runs but doesnt download the file

2017-07-04 Thread 'J Hawkesworth' via Ansible Project
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 On Monday, July

Re: [ansible-project] get_url runs but doesnt download the file

2017-07-03 Thread Anfield
Their both vms on my laptop so none is really "remote" - but in this case the local is the one running the playbook.. > > -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send

Re: [ansible-project] get_url runs but doesnt download the file

2017-07-03 Thread Anfield
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? -- You received this

Re: [ansible-project] get_url runs but doesnt download the file

2017-07-03 Thread Dick Davies
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...? On 3 July 2017 at 17:31, Anfield wrote: > ok: [10.10.0.5] => { > "changed": false, > "checksum_dest": "7ae4

Re: [ansible-project] get_url runs but doesnt download the file

2017-07-03 Thread Dick Visser
What comes to mind: * debug with - * run tcpdump on the initiating host to see if packets get out Dick On 3 July 2017 at 18:05, Anfield wrote: > 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 d

[ansible-project] get_url runs but doesnt download the file

2017-07-03 Thread Anfield
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