blob: 157f30fc32b212a608026f05f25a832b54cf57bf (
plain)
1
2
3
4
5
6
7
8
9
10
11
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
|