homeserver-iac/roles/networking/connection/defaults/main.yml

15 lines
322 B
YAML

---
# override these in host_vars
# static IP interface
net_interface: eth0
# LAN static IP address
local_ip: null
subnet_prefix: /24
local_subnet: 192.168.0.0/24
# router IP address
gateway: 192.168.0.1
# Can be the server itself if it has a nameserver
nameserver: "{{ hostvars[groups['nameserver'][0]]['local_ip'] }}"