Run bodhi-approve-testing in staging too.

Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
This commit is contained in:
Randy Barlow 2018-05-22 18:47:57 +00:00
parent ef4b3b8570
commit 67e825df75

View file

@ -303,7 +303,7 @@
cron: name="bodhi-approve-testing" hour="*/6" minute=0 user="apache"
job="/usr/bin/bodhi-approve-testing /etc/bodhi/production.ini > /dev/null"
cron_file=bodhi-approve-testing-job
when: inventory_hostname.startswith('bodhi-backend02') and env == "production"
when: (inventory_hostname.startswith('bodhi-backend02') and env == "production") or (inventory_hostname.startswith('bodhi-backend01') and env == "staging")
tags:
- config
- bodhi