The cron module does not implement or support check mode. Not all modules do, and when running with --check, Ansible will skip such modules.
On Tuesday, February 24, 2015, <[email protected]> wrote: > 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 > > > -- > 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] > <javascript:_e(%7B%7D,'cvml','ansible-project%[email protected]');> > . > To post to this group, send email to [email protected] > <javascript:_e(%7B%7D,'cvml','[email protected]');>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/ansible-project/6cf3317d-aa0b-4c4c-8e2a-e4a519dc2a4e%40googlegroups.com > <https://groups.google.com/d/msgid/ansible-project/6cf3317d-aa0b-4c4c-8e2a-e4a519dc2a4e%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Matt Martz @sivel sivel.net -- 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/CAD8N0v99c9bBc5J8j1iS7Vi2O0ZopUaxEjyt6VHHOutN%2BxEJ4w%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
