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>
1 KiB
— datacenter: ibiblio dns1: 152.2.21.1 dns2: 152.2.253.100 dns_search1: vpn.fedoraproject.org dns_search2: fedoraproject.org eth0_ipv4: 152.19.134.150 eth0_ipv4_gw: 152.19.134.129 eth0_ipv4_nm: 25 eth0_ipv6: "2600:2701:4000:5211:dead:beef:00fe:fed1" eth0_ipv6_gw: "2600:2701:4000:5211::1" eth0_ipv6_nm: 104 has_ipv6: yes ks_repo: http://infrastructure.fedoraproject.org/repo/rhel/RHEL7-x86_64/ ks_url: http://infrastructure.fedoraproject.org/repo/rhel/ks/kvm-rhel-7-ext network_connections:
-
autoconnect: yes ip: address:
- "{{ eth0_ipv4 }}/{{ eth0_ipv4_nm }}"
- "{{ eth0_ipv6 }}/{{ eth0_ipv6_nm }}"
dhcp4: no dns:
- "{{ dns1 }}"
- "{{ dns2 }}"
- 2001:4860:4860::8888
dns_search:
- "{{ dns_search1 }}"
- "{{ dns_search2 }}"
gateway4: "{{ eth0_ipv4_gw }}" gateway6: "{{ eth0_ipv6_gw }}" mac: "{{ ansible_default_ipv4.macaddress }}" name: eth0 type: ethernet
postfix_group: vpn vmhost: ibiblio05.fedoraproject.org volgroup: /dev/vg_guests vpn: true