Future proof, so we do not sync 2x if there is ever a mm-backend02
Signed-off-by: Rick Elrod <relrod@redhat.com>
This commit is contained in:
parent
7984e52034
commit
cd814f8274
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@
|
|||
cron: name="s3sync" minute="0" hour="0,11" user="s3-mirror"
|
||||
job='/usr/local/bin/lock-wrapper s3sync /usr/local/bin/s3.sh 2>&1 | /usr/local/bin/nag-once s3.sh 1d 2>&1'
|
||||
cron_file=s3.sh
|
||||
when: env != 'staging'
|
||||
when: env != 'staging' and inventory_hostname.startswith('mm-backend01.')
|
||||
tags:
|
||||
- s3-mirror
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue