From 6ddfd912dcbc49e43358f7e22f6c7b34a986b8c2 Mon Sep 17 00:00:00 2001 From: santascsi <39088744+santascsi@users.noreply.github.com> Date: Mon, 24 Sep 2018 17:06:33 +0200 Subject: [PATCH] Update cron.py (#46055) The documentation states the use of the "value" attribute for environment variables while this should also be the "job" attribute. +label: docsite_pr --- lib/ansible/modules/system/cron.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ansible/modules/system/cron.py b/lib/ansible/modules/system/cron.py index a08db963cc..b6e205f469 100644 --- a/lib/ansible/modules/system/cron.py +++ b/lib/ansible/modules/system/cron.py @@ -157,13 +157,13 @@ EXAMPLES = ''' cron: name: PATH env: yes - value: /opt/bin + job: /opt/bin - name: Creates an entry like "APP_HOME=/srv/app" and insert it after PATH declaration cron: name: APP_HOME env: yes - value: /srv/app + job: /srv/app insertafter: PATH - name: Creates a cron file under /etc/cron.d