make 'restart fedmsg-hub' handler not exclusive to bodhi

This commit is contained in:
Kamil Páral 2017-08-09 13:21:22 +02:00
parent dcd69e0036
commit 9a933e3bb5

View file

@ -22,7 +22,7 @@
# Note that, we're cool with arbitrary restarts on bodhi-backend02, just
# not bodhi-backend01 or bodhi-backend03. 01 and 03 is where the releng/mash
# stuff happens and we # don't want to interrupt that.
when: inventory_hostname == 'bodhi-backend02.phx2.fedoraproject.org'
when: inventory_hostname not in ['bodhi-backend01.phx2.fedoraproject.org', 'bodhi-backend03.phx2.fedoraproject.org']
- name: restart fedmsg-irc
command: /usr/local/bin/conditional-restart.sh fedmsg-irc fedmsg-irc