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