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: I7a6c07cce405c8e7f3dca13cc24dc413895e6bfb
This commit is contained in:
parent
16e93acc66
commit
05d206fabb
@ -119,6 +119,9 @@
|
|||||||
copy:
|
copy:
|
||||||
src: "/etc/keystone/policy.json-{{ keystone_venv_tag }}"
|
src: "/etc/keystone/policy.json-{{ keystone_venv_tag }}"
|
||||||
dest: "/etc/keystone/policy.json"
|
dest: "/etc/keystone/policy.json"
|
||||||
|
owner: "root"
|
||||||
|
group: "{{ keystone_system_group_name }}"
|
||||||
|
mode: "0640"
|
||||||
remote_src: yes
|
remote_src: yes
|
||||||
tags:
|
tags:
|
||||||
- keystone-config
|
- keystone-config
|
||||||
|
Loading…
Reference in New Issue
Block a user