Name is a required parameter, fix https://github.com/ansible/ansible/issues/10335
This commit is contained in:
parent
88e3c19e9a
commit
f7707ea137
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