copr: restart copr-dist-git service when config change

This commit is contained in:
Miroslav Suchý 2020-02-21 15:57:28 +01:00 committed by Pierre-Yves Chibon
parent ddd1937828
commit 25b43d9a38
2 changed files with 5 additions and 0 deletions

View file

@ -1,2 +1,5 @@
- name: reload httpd
service: name="httpd" state="restarted"
- name: restart copr-dist-git
service: name="copr-dist-git" state="restarted"

View file

@ -41,6 +41,8 @@
tags:
- config
- copr_infrastructure_password
notify:
- restart copr-dist-git
- name: set git variables for copr-dist-git user
copy: src=".gitconfig" dest="/home/copr-dist-git/.gitconfig"