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

[Install]
WantedBy=multi-user.target