mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-05-12 02:46:20 +08:00
make 'restart fedmsg-hub' handler not exclusive to bodhi
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user