ansible/inventory/group_vars/iad2_production
Kevin Fenzi d7af1f4123 inventory: try and setup iad2_production and iad2_staging groups
This is needed because I want to override just the mtu setting from
group_vars/all, but I don't want to copy the network_connections block
to every host in iad2 to override it. Hopefully this will allow us to
override it on just iad2_production (staging is already actually set in
group_vars/staging, but for completeness we may want a staging group
someday here, so I went and added it.).

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-05-19 15:17:31 -07:00

18 lines
404 B
Text

---
network_connections:
- autoconnect: yes
ip:
address:
- "{{ eth0_ipv4_ip }}/{{ eth0_ipv4_nm }}"
dhcp4: no
dns:
- "{{ dns1 }}"
- "{{ dns2 }}"
dns_search:
- "{{ dns_search1 }}"
- "{{ dns_search2 }}"
gateway4: "{{ eth0_ipv4_gw }}"
mac: "{{ ansible_default_ipv4.macaddress }}"
name: eth0
type: ethernet
mtu: 9000