Kai,

Roles in Ansible has the concept of files, so copy will automatically be 
> looking in files, so just use 
>
> src: bar/baz.txt 
>

sorry, I just *new* I'd screw up formulating my post... In fact, I had 
tried this already from within root/roles/mumbo/tasks/main.yaml:

   - name: copy bar/baz.txt to mumbo host 
     copy: 
       - src: bar/baz.txt 
       - dest: /some/other/path/baz.txt 

Again, ansible compained about not finding the desired file.

Am I missing something, or is ansible incapable of referring to files 
living in a subdirectory in a role's "files" folder?

Cheers --

Torsten

-- 
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/87c73949-36f2-4653-96f6-bb3f3ae60763%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to