mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-04-28 12:32:50 +08:00
Make super sure that fedmsg-hub isn't running on the mbs-frontend.
This commit is contained in:
@@ -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"
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user