diff --git a/roles/edpm_neutron_dhcp/tasks/install.yml b/roles/edpm_neutron_dhcp/tasks/install.yml index 52620891e..7afefdc9f 100644 --- a/roles/edpm_neutron_dhcp/tasks/install.yml +++ b/roles/edpm_neutron_dhcp/tasks/install.yml @@ -19,13 +19,15 @@ path: "{{ item.path }}" setype: "container_file_t" state: directory + owner: "{{ item.owner | default(ansible_user) }}" + group: "{{ item.group | default(ansible_user) }}" mode: "{{ item.mode | default(omit) }}" loop: - {'path': "/var/lib/openstack/config/containers", "mode": "0750" } - {'path': "/var/lib/neutron", "mode": "0750" } - {'path': "{{ edpm_neutron_dhcp_agent_config_dir }}", "mode": "0755" } - - {'path': "/var/log/containers/stdouts"} - - {'path': "/var/log/containers/neutron"} + - {'path': "/var/log/containers/stdouts", "mode": "0755" } + - {'path': "/var/log/containers/neutron", "mode": "0755" } tags: - install - neutron