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
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
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
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
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
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
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
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