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:
Markos Chandras 2018-03-27 17:12:17 +01:00
parent 2e86cbd4d4
commit ab10c99bf6

View File

@ -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"