ansible/playbooks/bridgeify.yml
Kevin Fenzi 56ec60b0b1 bridgeify: just use gw here.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-07-20 11:53:00 -07:00

35 lines
730 B
YAML

# Playbook to setup initial bridges on virthosts
# pass itL
# -e target=inventory_hostname
# -e br0
- hosts: "{{ target }}"
vars:
network_connections:
- name: br0
state: up
type: bridge
autoconnect: yes
ip:
address:
- "{{ br0_ip }}/24"
gateway4: "{{ gw }}"
dns:
- 10.3.163.33
- 10.3.163.34
dns_search:
- vpn.fedoraproject.org
- iad2.fedoraproject.org
- fedoraproject.org
dhcp4: no
auto6: no
- name: br0-port0
state: up
type: ethernet
master: br0
mac: "{{ br0_port0_mac }}"
roles:
- role: linux-system-roles.network