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:
Rick Elrod 2018-10-09 17:20:52 +00:00
parent 7984e52034
commit cd814f8274

View file

@ -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