taskotron: add restart buildmaster handler and fix buildslave services

This commit is contained in:
Kamil Páral 2018-01-05 15:33:48 +01:00
parent 54168ace6b
commit acb6babb45
2 changed files with 6 additions and 4 deletions

View file

@ -20,7 +20,7 @@
- name: restart fedmsg-hub
command: /usr/local/bin/conditional-restart.sh fedmsg-hub fedmsg-hub
# 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
# 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 not in ['bodhi-backend01.phx2.fedoraproject.org', 'bodhi-backend03.phx2.fedoraproject.org']
@ -180,3 +180,5 @@
- name: restart darkserver
service: name=darkserver state=restarted
- name: restart buildmaster
service: name=buildmaster state=restarted