From 64b30b172ef5b1c1cff63b3d67b04d94226f2100 Mon Sep 17 00:00:00 2001 From: Julien Palard Date: Thu, 23 May 2019 10:54:30 +0200 Subject: [PATCH] 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' --- lib/ansible/modules/system/cron.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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