summaryrefslogtreecommitdiff
path: root/openstack/usr/lib/systemd/system/openstack-cinder-setup.service
diff options
context:
space:
mode:
authorPedro Alvarez <pedro.alvarez@codethink.co.uk>2015-04-14 08:52:51 +0000
committerPedro Alvarez <pedro.alvarez@codethink.co.uk>2015-04-16 16:25:42 +0000
commit93a6551b87e8a722b7d0f5b851a3c6c1f67da1e8 (patch)
treecb04527b382165ad9256326867f596c324c722b9 /openstack/usr/lib/systemd/system/openstack-cinder-setup.service
parent2abd264299f6bda6a512db75f4382b856da9f9e0 (diff)
downloaddefinitions-93a6551b87e8a722b7d0f5b851a3c6c1f67da1e8.tar.gz
Openstack: Make Cinder configurable
Change-Id: I9c2bb1a204a01fa82e90d517663f6cf654666395 Signed-off-by: Pedro Alvarez <pedro.alvarez@codethink.co.uk> Signed-off-by: Francisco Redondo Marchena <francisco.marchena@codethink.co.uk> Signed-off-by: Patrick Darley <patrick.darley@codethink.co.uk>
Diffstat (limited to 'openstack/usr/lib/systemd/system/openstack-cinder-setup.service')
-rw-r--r--openstack/usr/lib/systemd/system/openstack-cinder-setup.service9
1 files changed, 9 insertions, 0 deletions
diff --git a/openstack/usr/lib/systemd/system/openstack-cinder-setup.service b/openstack/usr/lib/systemd/system/openstack-cinder-setup.service
new file mode 100644
index 00000000..bac80b6b
--- /dev/null
+++ b/openstack/usr/lib/systemd/system/openstack-cinder-setup.service
@@ -0,0 +1,9 @@
+[Unit]
+Description=Run cinder-setup Ansible scripts
+After=local-fs.target openstack-keystone-setup.service postgres-server.service
+
+[Service]
+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