diff --git a/roles/copr/frontend-cloud/handlers/main.yml b/roles/copr/frontend-cloud/handlers/main.yml index 4585db853a..210a0d66be 100644 --- a/roles/copr/frontend-cloud/handlers/main.yml +++ b/roles/copr/frontend-cloud/handlers/main.yml @@ -3,3 +3,7 @@ - name: restart postgresql service: name=postgresql state=restarted + +- name: restart copr-fe-fedora-messaging-reader + service: name="fm-consumer@copr_messaging" + state=restarted diff --git a/roles/copr/frontend-cloud/tasks/main.yml b/roles/copr/frontend-cloud/tasks/main.yml index 40f4df7137..837955c989 100644 --- a/roles/copr/frontend-cloud/tasks/main.yml +++ b/roles/copr/frontend-cloud/tasks/main.yml @@ -53,6 +53,7 @@ template: src="copr.conf" dest=/etc/copr/copr.conf mode=600 notify: - reload httpd + - restart copr-fe-fedora-messaging-reader tags: - config @@ -146,6 +147,8 @@ - name: install fedora messaging config for Copr template: src="fedora-messaging/copr_messaging.toml" dest="/etc/fedora-messaging/copr_messaging.toml" + notify: + - restart copr-fe-fedora-messaging-reader tags: - config