diff options
author | Pedro Alvarez <pedro.alvarez@codethink.co.uk> | 2015-03-27 15:22:25 +0000 |
---|---|---|
committer | Pedro Alvarez <pedro.alvarez@codethink.co.uk> | 2015-04-08 18:29:30 +0100 |
commit | 01b19e35598989582f44a3ce622878f02a924d0e (patch) | |
tree | 1b5eba18587e2694938fbc884d58205a00d17f06 /openstack/usr/lib/systemd/system/openvswitch-setup.service | |
parent | 7961d9971b291a9e07e6996532715904d1648263 (diff) | |
download | definitions-01b19e35598989582f44a3ce622878f02a924d0e.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.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 |