summaryrefslogtreecommitdiff
path: root/openstack/usr/lib/systemd/system/openstack-cinder-lv-setup.service
blob: 82e9b08d48a724c1ff93c2a50d9d32bd6161485f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
[Unit]
Description=Run cinder-lvs-setup Ansible scripts
ConditionPathExists=/etc/openstack/cinder.conf
Wants=lvm2-lvmetad.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-lvs.yml

[Install]
WantedBy=multi-user.target