summaryrefslogtreecommitdiff
path: root/install-files/openstack/usr/lib/systemd/system/openstack-network-setup.service
blob: 021370d9744de64b4f929ca0fd106c856f66f81c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
[Unit]
Description=Run Ansible scripts to configure internal network for OpenStack
After=openvswitch-setup.service openvswitch.service
Before=systemd-networkd.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/network.yml

[Install]
WantedBy=multi-user.target