summaryrefslogtreecommitdiff
path: root/openstack/usr/lib/systemd/system/openstack-cinder-db-setup.service
blob: 01a352e4ec7acf8727f930e6a8d6de10c1c52486 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
[Unit]
Description=Run cinder-db-setup Ansible scripts
ConditionPathExists=/etc/cinder/cinder.conf
After=postgres-server.service openstack-cinder-config-setup.service openstack-keystone.service openstack-keystone-setup.service
Wants=postgres-server.service openstack-cinder-config-setup.service openstack-keystone.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-db.yml

[Install]
WantedBy=multi-user.target