mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-06-27 23:57:02 +08:00
Normally it's just a nitpick to not have trailing spaces on variables. However, for some things like mac address, it really matters. Bunches of buildhw's were failing ansibile because they were passing "mac address " to linux-system-roles networking and ansible was going 'huh, nope, I can't find that mac address here at all'. So, just blow all the tailing spaces away to avoid any other variables that hit this. Signed-off-by: Kevin Fenzi <kevin@scrye.com>
549 B
549 B
— vmhost: bvmhost-p09-02.iad2.fedoraproject.org datacenter: iad2 dns1: 10.3.163.33 dns2: 10.3.163.34
has_ipv4: yes eth0_ipv4: 10.3.171.58 eth0_ipv4_nm: 24 eth0_ipv4_gw: 10.3.171.254
has_ipv6: no
mac0: 52:54:00:07:95:b8
network_connections:
-
name: eth0 mac: "{{ mac0 }}" state: up type: ethernet ip: address:
- "{{ eth0_ipv4 }}/{{ eth0_ipv4_nm }}"
gateway4: "{{ eth0_ipv4_gw }}" dns:
- "{{ dns1 }}"
- "{{ dns2 }}"
dns_search:
- iad2.fedoraproject.org
- fedoraproject.org
dhcp4: no auto6: no