diff options
author | Richard Maw <richard.maw@codethink.co.uk> | 2015-04-15 07:16:42 +0000 |
---|---|---|
committer | Richard Maw <richard.maw@codethink.co.uk> | 2015-04-16 04:03:12 +0000 |
commit | a70c13745ee4e7e50b4d077788200f46cfd16062 (patch) | |
tree | 553793cafa7d6d34cfbe71dda312054a9927a044 /openstack/usr/lib/systemd/system/openstack-cinder-iscsi-setup.service | |
parent | 0c963391c99751039f3f6e54e73a85e45120be38 (diff) | |
download | definitions-a70c13745ee4e7e50b4d077788200f46cfd16062.tar.gz |
OpenStack: Split Cinder into config, db and lv setupbaserock/richardmaw/openstack-wip
Change-Id: Iae387e39c4a62ef608496d31c748493fa88ce3e1
Diffstat (limited to 'openstack/usr/lib/systemd/system/openstack-cinder-iscsi-setup.service')
-rw-r--r-- | openstack/usr/lib/systemd/system/openstack-cinder-iscsi-setup.service | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/openstack/usr/lib/systemd/system/openstack-cinder-iscsi-setup.service b/openstack/usr/lib/systemd/system/openstack-cinder-iscsi-setup.service new file mode 100644 index 00000000..157f30fc --- /dev/null +++ b/openstack/usr/lib/systemd/system/openstack-cinder-iscsi-setup.service @@ -0,0 +1,12 @@ +[Unit] +Description=Run cinder-iscsi-setup Ansible scripts +Before=iscsid.service target.service +Wants= iscsid.service target.service + +[Service] +Type=oneshot +RemainAfterExit=yes +ExecStart=/usr/bin/ansible-playbook -v -M /usr/share/ansible/ansible-openstack-modules -i /usr/share/openstack/hosts /usr/share/openstack/cinder-iscsi.yml + +[Install] +WantedBy=multi-user.target |