fix more gateways and a mac address

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2022-01-26 13:19:45 -08:00
parent 88ee2b23ce
commit 19889ef877
4 changed files with 4 additions and 4 deletions

View file

@ -28,7 +28,7 @@ network_connections:
- "{{ dns_search1 }}"
- "{{ dns_search2 }}"
gateway4: "{{ eth0_ipv4_gw }}"
gateway6: "{{ eth0_ipv4_gw }}"
gateway6: "{{ eth0_ipv6_gw }}"
mac: "{{ mac_address }}"
name: eth0
type: ethernet

View file

@ -10,7 +10,7 @@ eth1_ipv4: 172.31.1.1
eth1_ipv4_gw: 172.31.1.254
eth1_ipv4_nm: 24
has_ipv4: yes
mac0: e4:1f:13:6a:e3:a0
eth0_mac0: e4:1f:13:6a:e3:a0
nagios_Check_Services:
mail: false
nrpe: false

View file

@ -30,7 +30,7 @@ network_connections:
- "{{ dns_search2 }}"
- "{{ dns_search3 }}"
gateway4: "{{ eth0_ipv4_gw }}"
gateway6: "{{ eth0_ipv4_gw }}"
gateway6: "{{ eth0_ipv6_gw }}"
mac: "{{ ansible_default_ipv4.macaddress }}"
name: eth0
type: ethernet

View file

@ -28,7 +28,7 @@ network_connections:
- "{{ dns_search1 }}"
- "{{ dns_search2 }}"
gateway4: "{{ eth0_ipv4_gw }}"
gateway6: "{{ eth0_ipv4_gw }}"
gateway6: "{{ eth0_ipv6_gw }}"
mac: "{{ ansible_default_ipv4.macaddress }}"
name: eth0
type: ethernet