hi,

given ansible role directory layout:
files
vars
tasks
...

and having files/foo/hostname/somefile I want not only be able  to copy 
this file like:
- copy src=foo/{{ ansible_hostname }}/somefile dest=...

but also to limit certain steps depending whether such file exist or not... 
basically to define variable and condition other steps on it. unfortunately 
stat module is limited to remote host.. what's the other way around?


-- 
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 ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/abc04355-05c1-4acb-bc96-511dc2e247db%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to