summaryrefslogtreecommitdiff
path: root/openstack/usr/lib/systemd/system/openstack-cinder-setup.service
diff options
context:
space:
mode:
authorFrancisco Redondo Marchena <francisco.marchena@codethink.co.uk>2015-04-13 15:57:48 +0000
committerFrancisco Redondo Marchena <francisco.marchena@codethink.co.uk>2015-04-13 15:57:48 +0000
commit31f8afcf80cacf8cbfffd7cbdfc75241d8e3a223 (patch)
tree8fc55cdecba638aa86b6b913be0eb869aea620ed /openstack/usr/lib/systemd/system/openstack-cinder-setup.service
parent736a9e13e5586063e7a188b6cb57e9c1aea3b6d8 (diff)
downloaddefinitions-baserock/openstack-baserock-upstream-all.tar.gz
Change-Id: I882fb2ad7a4cdbbd9daf11d802b4f84d1b79b03b
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