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>
702 B
702 B
— datacenter: iad2 dns1: 10.3.163.33 dns2: 10.3.163.34 dns_search1: "iad2.fedoraproject.org" dns_search2: "fedoraproject.org" eno1_ipv4: 10.3.169.28 eno1_ipv4_gw: 10.3.169.254 eno1_ipv4_nm: 24 eno1_mac: "{{ mac1 }}" has_ipv4: yes mac1: ec:f4:bb:d2:85:48 mac2: ec:f4:bb:d2:85:4a mac3: ec:f4:bb:d2:85:4c mac4: ec:f4:bb:d2:85:4d network_connections:
-
autoconnect: yes ip: address:
- "{{ eno1_ipv4 }}/{{ eno1_ipv4_nm }}"
dhcp4: no dns:
- "{{ dns1 }}"
- "{{ dns2 }}"
dns_search:
- "{{ dns_search1 }}"
- "{{ dns_search2 }}"
gateway4: "{{ eno1_ipv4_gw }}" mac: "{{ eno1_mac }}" name: eno1 state: up type: ethernet