diff options
Diffstat (limited to 'inventory/host_vars')
-rw-r--r-- | inventory/host_vars/r3-cccamp19-flora.yml | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/inventory/host_vars/r3-cccamp19-flora.yml b/inventory/host_vars/r3-cccamp19-flora.yml index f637fd69..bb4b9c02 100644 --- a/inventory/host_vars/r3-cccamp19-flora.yml +++ b/inventory/host_vars/r3-cccamp19-flora.yml @@ -1,6 +1,5 @@ --- vm_host: helene -install_dhcp: true install: host: "{{ vm_host }}" @@ -14,15 +13,19 @@ install: lv: "{{ inventory_hostname }}" size: 10g interfaces: - - bridge: camp19-br - name: camp0 - bridge: lan-br name: lan0 + - bridge: camp19-br + name: camp0 autostart: True network: + nameservers: "{{ network_zones.lan.dns }}" domain: "{{ host_domain }}" systemd_link: interfaces: "{{ install.interfaces }}" primary: - interface: camp0 + interface: lan0 + ip: "{{ network_zones.lan.prefix | ipaddr(network_zones.lan.offsets[inventory_hostname]) | ipaddr('address') }}" + mask: "{{ network_zones.lan.prefix | ipaddr('netmask') }}" + gateway: "{{ network_zones.lan.gw }}" |