From 9a933e3bb52d391c21ffcce3cb7e9679af115bfb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kamil=20P=C3=A1ral?= Date: Wed, 9 Aug 2017 13:21:22 +0200 Subject: [PATCH] make 'restart fedmsg-hub' handler not exclusive to bodhi --- handlers/restart_services.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/handlers/restart_services.yml b/handlers/restart_services.yml index f5f3b4d209..eecf439bb6 100644 --- a/handlers/restart_services.yml +++ b/handlers/restart_services.yml @@ -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