From c60fe36ddffa424f5f3e826b5130cee8272c5c7d Mon Sep 17 00:00:00 2001 From: Jesse Pretorius Date: Tue, 23 May 2017 23:35:04 +0100 Subject: [PATCH] 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 --- handlers/main.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/handlers/main.yml b/handlers/main.yml index 2771745b..896c3c2c 100644 --- a/handlers/main.yml +++ b/handlers/main.yml @@ -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