no need to set this every playbook run
This commit is contained in:
parent
58ed91c912
commit
745bcafcf8
1 changed files with 5 additions and 5 deletions
|
@ -52,8 +52,8 @@
|
|||
cron_file=s3sync
|
||||
when: env != 'staging'
|
||||
|
||||
- name: s3sync-logs cron
|
||||
cron: name="s3sync-logs" hour="0" user="root"
|
||||
job='/usr/local/bin/lock-wrapper s3sync-logs "/bin/sleep $((${RANDOM} \% 300)); /usr/local/bin/s3sync-logs >> /var/log/s3-mirror-logs/s3sync-logs.log 2>&1" | /usr/local/bin/nag-once s3mirror-logs 12h 2>&1'
|
||||
cron_file=s3sync-logs
|
||||
state=absent
|
||||
#- name: s3sync-logs cron
|
||||
# cron: name="s3sync-logs" hour="0" user="root"
|
||||
# job='/usr/local/bin/lock-wrapper s3sync-logs "/bin/sleep $((${RANDOM} \% 300)); /usr/local/bin/s3sync-logs >> /var/log/s3-mirror-logs/s3sync-logs.log 2>&1" | /usr/local/bin/nag-once s3mirror-logs 12h 2>&1'
|
||||
# cron_file=s3sync-logs
|
||||
# state=absent
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue