diff --git a/lib/ansible/modules/system/cron.py b/lib/ansible/modules/system/cron.py index 1d290a3d82..9a3e238e4e 100644 --- a/lib/ansible/modules/system/cron.py +++ b/lib/ansible/modules/system/cron.py @@ -185,9 +185,9 @@ EXAMPLES = r''' - name: Creates a cron file under /etc/cron.d cron: name: yum autoupdate - weekday: 2 - minute: 0 - hour: 12 + weekday: "2" + minute: "0" + hour: "12" user: root job: "YUMINTERACTIVE=0 /usr/sbin/yum-autoupdate" cron_file: ansible_yum-autoupdate