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: I39f3c80244f9565d290f420eadeb28e8b77d2d33
This commit is contained in:
parent
fc3c42c928
commit
4d6e4d857c
@ -47,6 +47,9 @@
|
|||||||
copy:
|
copy:
|
||||||
src: "/etc/glance/policy.json-{{ glance_venv_tag }}"
|
src: "/etc/glance/policy.json-{{ glance_venv_tag }}"
|
||||||
dest: "/etc/glance/policy.json"
|
dest: "/etc/glance/policy.json"
|
||||||
|
owner: "root"
|
||||||
|
group: "{{ glance_system_group_name }}"
|
||||||
|
mode: "0640"
|
||||||
remote_src: yes
|
remote_src: yes
|
||||||
|
|
||||||
- name: Start services
|
- name: Start services
|
||||||
|
Loading…
x
Reference in New Issue
Block a user