Ansible cron module --check --diff query

100 views
Skip to first unread message

jol...@limilo.com

unread,
Feb 24, 2015, 5:07:28 PM2/24/15
to ansible...@googlegroups.com

Hi all 


I've a query about running a playbook with --check --diff . For some reason when running against a playbook with a cron task in (where we are amending an existing Ansible created crontab with new running hours/minutes), the cron task shows as being skipped and no diff is shown. 


A subsequent live run updates the target host. Is this expected behaviour?


Cheers


Matt Martz

unread,
Feb 24, 2015, 8:03:25 PM2/24/15
to ansible...@googlegroups.com
The cron module does not implement or support check mode.  Not all modules do, and when running with --check, Ansible will skip such modules.
--
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-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/6cf3317d-aa0b-4c4c-8e2a-e4a519dc2a4e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
Matt Martz
@sivel
sivel.net

Reply all
Reply to author
Forward
0 new messages