So apparently I was doing something wrong. As Adam indicated it should be,
it all just works now...
Running a simple case test:
- hosts: some_host
become_user: root
become_method: sudo
tasks:
- fetch: >
dest=/tmp/foo
fail_on_missing=yes
src=/tmp/foo.txt
delegate_to: delegateHost
it indeed pulls the right file from the right place.
Thanks for you help!
--
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/b98f17fa-8728-430c-8023-0703de87f8fe%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.