docs: cron: fix for example raises a warning. (#56701)

The following one:

    The value 2 (type int) in a string field was converted to '2'
pull/56837/head
Julien Palard 5 years ago committed by René Moser
parent 124400f319
commit 64b30b172e

@ -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

Loading…
Cancel
Save