Name is a required parameter, fix https://github.com/ansible/ansible/issues/10335
This commit is contained in:
parent
be89a2f5fc
commit
a4d7ebc12a
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue