That's a pretty neat trick! BTW, rather than using the "ls" command, I'd recommend using the "stat" module for that purpose, since it's a little more explicit and dedicated to the task.
http://ansibleworks.com/docs/modules.html#stat run with "-v" to see all the data that it returns. On Thu, Dec 26, 2013 at 2:52 PM, Brian Coca <[email protected]> wrote: > A 'quicker' solution is to have task #1 just delete everything and always > populate from temlpates, but this hides changes as it ALWAYS changes > everything. > > -- > 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]. > For more options, visit https://groups.google.com/groups/opt_out. > -- Michael DeHaan <[email protected]> CTO, AnsibleWorks, Inc. http://www.ansibleworks.com/ -- 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]. For more options, visit https://groups.google.com/groups/opt_out.
