Turns out the current version of linux-system-roles network doesn't like setting ipv6 no and setting search domains since NetworkManager wants to set them for both ipv4 and ipv6. There's some upstream fix, but not in our current version. Signed-off-by: Kevin Fenzi <kevin@scrye.com>
835 B
835 B
— datacenter: iad2 dns1: 10.3.163.33 dns2: 10.3.163.34 eth0_ipv4: 10.3.170.140 eth0_ipv4_gw: 10.3.170.254 eth0_ipv4_nm: 24 has_ipv4: yes has_ipv6: no mac0: f4:e9:d4:cc:32:b2 mac1: f4:e9:d4:cc:32:b3 mac2: f4:e9:d4:f2:e9:6e mac3: f4:e9:d4:f2:e9:6f network_connections:
-
ip: address:
- "{{ eth0_ipv4 }}/{{ eth0_ipv4_nm }}"
dhcp4: no dns:
- "{{ dns1 }}"
- "{{ dns2 }}"
dns_search:
- iad2.fedoraproject.org
- fedoraproject.org
gateway4: "{{ eth0_ipv4_gw }}" mac: "{{ mac0 }}" name: eth0 state: up type: ethernet
- autoconnect: yes mac: "{{ mac1 }}" name: eth1 state: down type: ethernet
- mac: "{{ mac2 }}" name: eth2 state: down type: ethernet
- mac: "{{ mac3 }}" name: eth3 state: down type: ethernet