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

[Install]
WantedBy=multi-user.target