Revert "Create ovs temp directories when using ovs"
This reverts commit 7ba9b76382
.
Open vSwitch is creating the /var/run/openvswitch directory with the
correct permissions before the systemd services are started so we
shouldn't have to do that ourselves.
Closes-Bug: #1754139
Change-Id: If351f5562a6c0c6ec7404ee2a827772fed32b858
This commit is contained in:
parent
2e86cbd4d4
commit
ab10c99bf6
@ -42,22 +42,6 @@
|
||||
notify:
|
||||
- Restart neutron services
|
||||
|
||||
- name: Create ovs tempfiles directory
|
||||
block:
|
||||
- name: Create ovs tmpfiles file
|
||||
lineinfile:
|
||||
dest: "/etc/tmpfiles.d/openstack-openvswitch.conf"
|
||||
line: "D /var/run/openvswitch 2755 root root"
|
||||
create: true
|
||||
|
||||
- name: Create ovs tmp directory
|
||||
file:
|
||||
path: "/var/run/openvswitch"
|
||||
state: directory
|
||||
mode: "02755"
|
||||
when:
|
||||
- "'ovs' in neutron_plugin_type | lower"
|
||||
|
||||
- name: Place the systemd init script
|
||||
config_template:
|
||||
src: "neutron-systemd-init.j2"
|
||||
|
Loading…
Reference in New Issue
Block a user