diff --git a/lib/ansible/modules/system/cron.py b/lib/ansible/modules/system/cron.py index c0a39b61c61..f91587caf66 100644 --- a/lib/ansible/modules/system/cron.py +++ b/lib/ansible/modules/system/cron.py @@ -139,7 +139,7 @@ EXAMPLES = ''' cron_file=ansible_yum-autoupdate # Removes a cron file from under /etc/cron.d -- cron: cron_file=ansible_yum-autoupdate state=absent +- cron: name="yum autoupdate" cron_file=ansible_yum-autoupdate state=absent ''' import os