Skip to content

Commit

Permalink
Merge pull request openstack-k8s-operators#409 from slawqo/neutron-dh…
Browse files Browse the repository at this point in the history
…cp-agent

Fix owner of the /var/lib/openstack created by the neutron_dhcp role
  • Loading branch information
openshift-ci[bot] authored Oct 10, 2023
2 parents 0e47f51 + e0a6307 commit b547875
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions roles/edpm_neutron_dhcp/tasks/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b547875

Please sign in to comment.