Doug Aaser f3cbed1d96 [AIR-209] Remove privilege escalation
This PS removes privilege escalation from the roles so that these roles
can be used in a developer environment

Change-Id: I44ddc18532ee75b0d398896d470ecf949ad4496a
2020-01-21 12:11:16 -05:00

35 lines
840 B
YAML

- hosts: primary
roles:
- role: libvirt-network
vars:
network_action: create
libvirt_network:
name: provision-network
spec:
forward:
mode: nat
nat:
port:
- start: 1024
end: 65535
bridge:
name: "prov-net-br"
stp: 'on'
delay: '0'
ip:
address: "172.22.0.1"
netmask: "255.255.255.0"
- role: libvirt-network
vars:
network_action: rebuild
libvirt_network:
name: oob-net
spec:
bridge:
name: oob-net
stp: 'on'
delay: '0'
ip:
address: "10.23.22.1"
netmask: "255.255.255.0"