From 0bd32c34655d22964ef05993a5a50fbba47ab83e Mon Sep 17 00:00:00 2001 From: Thomas Quinot Date: Fri, 10 Jun 2016 19:03:01 +0200 Subject: [PATCH] Clarify behaviour when state=present and no name is given (#3904) --- lib/ansible/modules/system/cron.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/ansible/modules/system/cron.py b/lib/ansible/modules/system/cron.py index b8a7fb8fba3..949094d0f70 100644 --- a/lib/ansible/modules/system/cron.py +++ b/lib/ansible/modules/system/cron.py @@ -52,7 +52,8 @@ options: name: description: - Description of a crontab entry or, if env is set, the name of environment variable. - Required if state=absent + Required if state=absent. Note that if name is not set and state=present, then a + new crontab entry will always be created, regardless of existing ones. default: null required: false user: