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-10 10:55:33 +0000
commit21d627c7a49e17d539d0690fd9fd24760a6e42b7 (patch)
tree7b2e27a568ce1588813445528b91f572d1c1a5fa /openstack/etc/systemd/system/openstack-cinder-setup.service
parent7a5c09ee656a61b6f5c71b6f4711d3d8a33c1cdb (diff)
downloaddefinitions-21d627c7a49e17d539d0690fd9fd24760a6e42b7.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