Hi Brian, Michael Been reading about "with_fileglob", and yes, it apparently only works in the localhost or primary node (gotta be PC nowadays! :D ). But why does it then show me the right files in the remote boxes?? And cherry on top, it reports "ok" for the task. That's confusing to say the least.
I did try doing the register/debug thing. Could not get it working. There are plenty of examples on this list for instance, but I guess I lack a python foundation... In any case, I finally resorted to the proven shell & rsync method. I had my files backed up in minutes. Thanks both for your time. On Thursday, 19 June 2014 22:45:39 UTC+1, Brian Coca wrote: > > with_fileglob is running on the 'master' not on the target server, so > unless they have the same files this won't work. > > you might want to run a shell: find + register a var for use in the fetch > > -- 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/c28ce51c-c564-4faa-b41d-ab9ffcd140b1%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
