ODCS: Also fix Pungi cache ownership.

This commit is contained in:
Jan Kaluža 2020-03-18 14:05:23 +00:00 committed by Pierre-Yves Chibon
parent 56b51220a3
commit 09f4d2cb8f

View file

@ -93,6 +93,18 @@
- 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
# this app config is shared by backend and frontend, but has different
# owner groups on backend and frontend, and notify different handlers,
# we can have vars set for frontend and backend seperately to do that,