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: I17c242bc0af72b839009fc2115d1ff940d4251cb
This commit is contained in:
Jesse Pretorius 2017-05-23 23:35:04 +01:00
parent e5de292d06
commit c60fe36ddf
1 changed files with 3 additions and 0 deletions

View File

@ -66,6 +66,9 @@
copy:
src: "{{ neutron_conf_dir }}/policy.json-{{ neutron_venv_tag }}"
dest: "{{ neutron_conf_dir }}/policy.json"
owner: "root"
group: "{{ neutron_system_group_name }}"
mode: "0640"
remote_src: yes
- name: Start services