example (i prefer template but this makes it a 1 liner):
- copy: content="[defaults]\ntime={{60|random}}"
dest=/etc/facts.d/mycronscript.facts
when: ansible_local is not defined or 'mycronscript' in
ansible_local or 'time' not in ansible_local.mycronscripts
--
Brian Coca
--
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/CAJ5XC8kcySaxWDKCMsuyvuazWvtECf59iR8f%2B5_yXpK3%2Bj3JkA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.