summaryrefslogtreecommitdiff
path: root/openstack/etc/systemd/system/openstack-cinder-setup.service
diff options
context:
space:
mode:
authorPedro Alvarez <pedro.alvarez@codethink.co.uk>2015-02-25 12:19:30 +0000
committerPedro Alvarez <pedro.alvarez@codethink.co.uk>2015-03-12 19:36:52 +0000
commitc3d80c160ebf2ce7a13c05ef09d4994e384d6bd7 (patch)
tree76748118043c3f2948ef81b1c78b778c196552ba /openstack/etc/systemd/system/openstack-cinder-setup.service
parentf75ef0ba0c76e8f43ab76913c79e8d2954aacbba (diff)
downloaddefinitions-c3d80c160ebf2ce7a13c05ef09d4994e384d6bd7.tar.gz
Cinder setup to ansible
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