summaryrefslogtreecommitdiff
path: root/openstack/usr/lib/systemd/system/openvswitch-setup.service
diff options
context:
space:
mode:
authorPedro Alvarez <pedro.alvarez@codethink.co.uk>2015-03-27 15:22:25 +0000
committerPedro Alvarez <pedro.alvarez@codethink.co.uk>2015-04-10 10:55:34 +0000
commit461a25c256476192fdd953dc6304b7961677b8ff (patch)
tree60e6db2cc4a6864f540d29f151b008e10da433ab /openstack/usr/lib/systemd/system/openvswitch-setup.service
parent823020ce0fc12f8c7de4dd398a93213be962dc39 (diff)
downloaddefinitions-461a25c256476192fdd953dc6304b7961677b8ff.tar.gz
openvswitch: Move setup scripts to Ansible.
Also change systemd units and configure extension to match this change
Diffstat (limited to 'openstack/usr/lib/systemd/system/openvswitch-setup.service')
-rw-r--r--openstack/usr/lib/systemd/system/openvswitch-setup.service6
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