ODCS: adjust file ownership.

This commit is contained in:
Ralph Bean 2018-06-21 12:20:44 +00:00
parent d6dd7dedb0
commit 1f269385f0
2 changed files with 10 additions and 7 deletions

View file

@ -20,7 +20,7 @@
src: etc/koji.conf.d/odcs.conf.j2
dest: /etc/koji.conf.d/odcs.conf
owner: odcs
group: odcs
group: fedmsg
mode: 0440
notify:
- restart fedmsg-hub

View file

@ -73,7 +73,7 @@
src: etc/odcs/config.py.j2
dest: /etc/odcs/config.py
owner: odcs
group: odcs
group: fedmsg
mode: 0440
notify:
- restart fedmsg-hub
@ -87,7 +87,7 @@
src: etc/odcs/raw_config_wrapper.conf.j2
dest: /etc/odcs/raw_config_wrapper.conf
owner: odcs
group: odcs
group: fedmsg
mode: 0440
notify:
- restart fedmsg-hub
@ -101,7 +101,7 @@
src: etc/odcs/runroot_koji.conf.j2
dest: /etc/odcs/runroot_koji.conf
owner: odcs
group: odcs
group: fedmsg
mode: 0440
notify:
- restart fedmsg-hub
@ -111,12 +111,15 @@
- odcs/backend
- name: copy the ODCS pungi config template to backend
copy: src="{{ roles_path }}/odcs/base/files/pungi.conf" dest=/etc/odcs/pungi.conf
owner=odcs group=odcs mode=0640
copy:
src: "{{ roles_path }}/odcs/base/files/pungi.conf"
dest: /etc/odcs/pungi.conf
owner: odcs
group: fedmsg
mode: 0640
notify:
- restart fedmsg-hub
when: inventory_hostname.startswith('odcs-backend')
tags:
- odcs
- odcs/backend