Make super sure that fedmsg-hub isn't running on the mbs-frontend.

This commit is contained in:
Ralph Bean 2017-10-26 14:13:42 +00:00
parent a427b2974d
commit b403eb2d36
2 changed files with 19 additions and 0 deletions

View file

@ -92,6 +92,18 @@
roles:
- mbs/frontend
post_tasks:
# Shouldn't be necessary after this change makes it out
# https://src.fedoraproject.org/rpms/module-build-service/c/d19515a7c053aa90cddccd5e10a5615b773a7bd2
- name: Make sure fedmsg-hub isn't running on the frontend.
service:
name: fedmsg-hub
state: stopped
enabled: false
tags:
- mbs
- mbs/frontend
handlers:
- import_tasks: "{{ handlers_path }}/restart_services.yml"

View file

@ -128,6 +128,13 @@
tasks:
- service: name="httpd" state=started
# Shouldn't be necessary after this change makes it out
# https://src.fedoraproject.org/rpms/module-build-service/c/d19515a7c053aa90cddccd5e10a5615b773a7bd2
- name: Make sure fedmsg-hub isn't running on the frontend.
service:
name: fedmsg-hub
state: stopped
enabled: false
post_tasks:
- name: tell nagios to unshush w.r.t. the frontend