diff options
author | Christian Pointner <equinox@spreadspace.org> | 2019-08-21 19:03:58 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2019-08-21 19:03:58 +0200 |
commit | 9e65cdc6451715b57bf1d08993c8977090a2f43a (patch) | |
tree | 0086e699fab5782ea433cf194e8684bb972f044a /inventory/host_vars | |
parent | added vm for flora @ camp19 (diff) |
nicer grouping for r3 @ cccamp
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 }}" |