Ensure that policy file has correct group/mode
When the policy file is copied from the templated file to the active file, it loses its group/mode settings. This patch ensures that they are properly replicated during the copy. Change-Id: I3fdd5d0122dec93a95c47b1f473b74eba11d6f26
This commit is contained in:
parent
e7b6458d39
commit
ffd26a061b
|
@ -47,6 +47,9 @@
|
|||
copy:
|
||||
src: "/etc/cloudkitty/policy.json-{{ cloudkitty_venv_tag }}"
|
||||
dest: "/etc/cloudkitty/policy.json"
|
||||
owner: "root"
|
||||
group: "{{ cloudkitty_system_group_name }}"
|
||||
mode: "0640"
|
||||
remote_src: yes
|
||||
|
||||
- name: Start services
|
||||
|
|
Loading…
Reference in New Issue