mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Update cron.py (#46055)
<!--- Your description here --> The documentation states the use of the "value" attribute for environment variables while this should also be the "job" attribute. +label: docsite_pr
This commit is contained in:
parent
9039002886
commit
6ddfd912dc
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue