summaryrefslogtreecommitdiff
path: root/openstack/usr/lib/systemd/system/openstack-nova-db-setup.service
blob: 238df3c743edc70e2e7a1417f9e7caac8025371f (plain)
1
2
3
4
5
6
7
8
9
10
11
[Unit]
Description=Run nova-db-setup Ansible scripts
ConditionPathExists=/etc/openstack/nova.conf
After=postgres-server-setup.service openstack-keystone-setup.service openstack-nova-config-setup.service

[Service]
Type=oneshot
ExecStart=/usr/bin/ansible-playbook -v -M /usr/share/ansible/ansible-openstack-modules -i /usr/share/openstack/hosts /usr/share/openstack/nova-db.yml

[Install]
WantedBy=multi-user.target