summaryrefslogtreecommitdiff
path: root/openstack/etc/systemd/system/openstack-cinder-setup.service
diff options
context:
space:
mode:
authorPedro Alvarez <pedro.alvarez@codethink.co.uk>2015-03-26 19:19:10 +0000
committerRichard Ipsum <richardipsum@fastmail.co.uk>2015-04-10 20:17:45 +0100
commitb43ed07ebb9853909016a3d5451b6d53cde6a590 (patch)
tree32db24420409c7f16f25fea28c4419818a25b784 /openstack/etc/systemd/system/openstack-cinder-setup.service
parenta112ea0391a4a34d8475388cdce02f754c44d621 (diff)
downloaddefinitions-b43ed07ebb9853909016a3d5451b6d53cde6a590.tar.gz
cinder: Move setup scripts to Ansible.
Also change systemd units and configure extension to match this change
Diffstat (limited to 'openstack/etc/systemd/system/openstack-cinder-setup.service')
-rw-r--r--openstack/etc/systemd/system/openstack-cinder-setup.service6
1 files changed, 2 insertions, 4 deletions
diff --git a/openstack/etc/systemd/system/openstack-cinder-setup.service b/openstack/etc/systemd/system/openstack-cinder-setup.service
index 2bd0a6bb..b166674b 100644
--- a/openstack/etc/systemd/system/openstack-cinder-setup.service
+++ b/openstack/etc/systemd/system/openstack-cinder-setup.service
@@ -1,11 +1,9 @@
[Unit]
-Description=Run openstack-cinder-setup (once)
+Description=Run cinder-setup Ansile scripts
After=local-fs.target openstack-keystone-setup.service postgres-server.service
[Service]
-Type=oneshot
-ExecStart=/usr/share/openstack/openstack-cinder-setup
-Restart=no
+ExecStart=/usr/bin/ansible-playbook -v -M /usr/share/ansible/ansible-openstack-modules -i /usr/share/openstack/hosts /usr/share/openstack/cinder.yml
[Install]
WantedBy=multi-user.target