Make super sure that fedmsg-hub isn't running on the mbs-frontend.
This commit is contained in:
parent
a427b2974d
commit
b403eb2d36
2 changed files with 19 additions and 0 deletions
|
@ -92,6 +92,18 @@
|
||||||
roles:
|
roles:
|
||||||
- mbs/frontend
|
- 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:
|
handlers:
|
||||||
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
||||||
|
|
||||||
|
|
|
@ -128,6 +128,13 @@
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- service: name="httpd" state=started
|
- 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:
|
post_tasks:
|
||||||
- name: tell nagios to unshush w.r.t. the frontend
|
- name: tell nagios to unshush w.r.t. the frontend
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue