koji_hub / kojira: restart kojira when kojira.conf changes

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2021-02-11 09:23:15 -08:00
parent 3af1bf0374
commit 2e415fc383
2 changed files with 7 additions and 0 deletions

View file

@ -191,3 +191,8 @@
state: restarted
with_sequence: start=0 end={{ mbs_num_workers - 1 }}
when: not mbs_frontend
- name: restart kojira
systemd:
name: kojira
state: restarted

View file

@ -361,6 +361,8 @@
tags:
- config
- koji_hub
notify:
- restart kojira
- name: make an empty /mnt/fedora_koji for stg.
file: state=directory path=/mnt/fedora_koji/koji owner=root group=root