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
committerPedro Alvarez <pedro.alvarez@codethink.co.uk>2015-04-08 18:29:28 +0100
commit5e8f8a340fd5881c32ea346d05b50b0ffc6ed884 (patch)
tree406fa71385efda597f1d8cc099233efcc945c801 /openstack/etc/systemd/system/openstack-cinder-setup.service
parentc4955acbb313a9a17bce7129d69943cde751448b (diff)
downloaddefinitions-5e8f8a340fd5881c32ea346d05b50b0ffc6ed884.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