From fd982cf8b7cda47743c85dc183dc1b9ed0e85987 Mon Sep 17 00:00:00 2001 From: Matt Parker Date: Mon, 25 Aug 2014 10:29:45 +0100 Subject: [PATCH 1/2] Update cron documenation The "name" parameter seems to be rather important as the identifying feature of a cron job. This is an update to the documentation to further emphasize this. --- library/system/cron | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/library/system/cron b/library/system/cron index 29cf374d65..23bb268b0e 100644 --- a/library/system/cron +++ b/library/system/cron @@ -38,7 +38,9 @@ description: crontab entries, update, or delete them. - 'The module includes one line with the description of the crontab entry C("#Ansible: ") corresponding to the "name" passed to the module, which is used by future ansible/module calls - to find/check the state.' + to find/check the state. The "name" parameter is therefore quite important: it should be + unique, and changing the "name" value will result in a new cron task being created (or a + different one being removed). In other words, don't change it.' version_added: "0.9" options: name: From 0dda8a79966d16577ae73832826a7476f07b7df5 Mon Sep 17 00:00:00 2001 From: James Cammarata Date: Mon, 25 Aug 2014 09:54:21 -0500 Subject: [PATCH 2/2] Tweaking change to documentation language for cron name param --- library/system/cron | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/library/system/cron b/library/system/cron index 14781e44e2..d14f36253c 100644 --- a/library/system/cron +++ b/library/system/cron @@ -38,9 +38,8 @@ description: crontab entries, update, or delete them. - 'The module includes one line with the description of the crontab entry C("#Ansible: ") corresponding to the "name" passed to the module, which is used by future ansible/module calls - to find/check the state. The "name" parameter is therefore quite important: it should be - unique, and changing the "name" value will result in a new cron task being created (or a - different one being removed). In other words, don't change it.' + to find/check the state. The "name" parameter should be unique, and changing the "name" value + will result in a new cron task being created (or a different one being removed)' version_added: "0.9" options: name: