fix cron DOCUMENTATION

This commit is contained in:
Jan-Piet Mens 2012-12-23 14:08:26 +01:00
parent 7c8fa2cb6f
commit f1ab8d163d

4
cron
View file

@ -101,7 +101,7 @@ options:
reboot: reboot:
description: description:
- If the job should be run at reboot, will ignore minute, hour, day, and month settings in favour of @reboot - If the job should be run at reboot, will ignore minute, hour, day, and month settings in favour of C(@reboot)
version_added: "1.0" version_added: "1.0"
required: false required: false
default: False default: False
@ -113,7 +113,7 @@ examples:
- code: 'cron: name="an old job" cron job="/some/dir/job.sh" state=absent' - code: 'cron: name="an old job" cron job="/some/dir/job.sh" state=absent'
description: 'Ensure an old job is no longer present. Removes any job that is preceded by "#Ansible: an old job" in the crontab' description: 'Ensure an old job is no longer present. Removes any job that is preceded by "#Ansible: an old job" in the crontab'
- code: 'cron: name="a job for reboot" reboot=True job="/some/job.sh"' - code: 'cron: name="a job for reboot" reboot=True job="/some/job.sh"'
description: 'Creates an entry like '@reboot /some/job.sh' description: 'Creates an entry like "@reboot /some/job.sh"'
requirements: cron requirements: cron
author: Dane Summers author: Dane Summers