ODCS: Execute Pungi cache ownership fix only on backend.

This commit is contained in:
Jan Kaluža 2020-03-18 14:22:06 +00:00 committed by Pierre-Yves Chibon
parent 09f4d2cb8f
commit 44f6bac47f
2 changed files with 11 additions and 11 deletions

View file

@ -23,6 +23,17 @@
tags:
- odcs
- odcs/backend
- name: ensure Pungi cache files have right ownership
file:
path: "{{ item }}"
owner: odcs-server
group: odcs-server
with_items:
- /var/tmp/pungi_cache_file.dbm.rw.lock
- /var/tmp/pungi_cache_file.dbm.rw
tags:
- odcs
- odcs/backend
- name: generate the ODCS koji config
template:
src: etc/koji.conf.d/odcs.conf.j2