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: I50c50958fbdcc7f3912189a0b47cda0cf9313927
This commit is contained in:
Jesse Pretorius 2017-05-23 23:38:17 +01:00
parent 48bd7a989e
commit 22bf0e24c5
1 changed files with 3 additions and 0 deletions

View File

@ -49,6 +49,9 @@
copy:
src: "/etc/ceilometer/policy.json-{{ ceilometer_venv_tag }}"
dest: "/etc/ceilometer/policy.json"
owner: "root"
group: "{{ ceilometer_system_group_name }}"
mode: "0640"
remote_src: yes
- name: Start services