diff options
Diffstat (limited to 'openstack/usr/lib/systemd/system/openvswitch-setup.service')
-rw-r--r-- | openstack/usr/lib/systemd/system/openvswitch-setup.service | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/openstack/usr/lib/systemd/system/openvswitch-setup.service b/openstack/usr/lib/systemd/system/openvswitch-setup.service index bfe67002..1dbda6d8 100644 --- a/openstack/usr/lib/systemd/system/openvswitch-setup.service +++ b/openstack/usr/lib/systemd/system/openvswitch-setup.service @@ -1,11 +1,9 @@ [Unit] -Description=Run openvswitch-setup (once) +Description=Run openvswitch-setup Ansible scripts After=local-fs.target [Service] -Type=oneshot -ExecStart=/usr/share/openstack/openvswitch-setup -Restart=no +ExecStart=/usr/bin/ansible-playbook -v -i /usr/share/openstack/hosts /usr/share/openstack/openvswitch.yml [Install] WantedBy=multi-user.target |