copr: fe: restart fm consumer after config change

This commit is contained in:
Pavel Raiskup 2019-12-05 11:00:21 +01:00 committed by Pierre-Yves Chibon
parent b15a3ae515
commit ec62b9ec3b
2 changed files with 7 additions and 0 deletions

View file

@ -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

View file

@ -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