What comes to mind:

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


Dick


On 3 July 2017 at 18:05, Anfield <[email protected]> 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 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
>
> ########
>
> --- # GET URL EXAMPLE
> - hosts: 10.10.0.5
>   user: ansible
>   become: yes
>   tasks:
>     - name: get url example from the target and download
>       get_url:
>         url: http://10.10.0.5/index.html
>         dest: /home/ansible/index.html    (Tried /tmp also)
>         owner: ansible
>         mode: 0755
>
> --
> 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 an
> email to [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/9a662107-9676-4dfc-a960-f93e63459c54%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.



-- 
Dick Visser
Sr. System & Network Engineer
GÉANT

Want to join us? We're hiring: https://www.geant.org/jobs

-- 
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 an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAL8fbwMZnnfthvdjAd3i14dBEYyHOZLKn15Oj1PrrQ600S0Zfg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to