Skip to content

Commit

Permalink
docs: cron: fix for example raises a warning. (ansible#56701)
Browse files Browse the repository at this point in the history
The following one:

    The value 2 (type int) in a string field was converted to '2'
  • Loading branch information
JulienPalard authored and resmo committed May 23, 2019
1 parent 124400f commit 64b30b1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/ansible/modules/system/cron.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,9 +185,9 @@
- 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
Expand Down

0 comments on commit 64b30b1

Please sign in to comment.