summaryrefslogtreecommitdiff
path: root/inventory/host_vars/lw-master.yml
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2020-07-22 23:42:03 +0200
committerChristian Pointner <equinox@spreadspace.org>2020-07-22 23:42:03 +0200
commit8c76a1b0c6e925b529b1cd03ded5b9d0b3d707c4 (patch)
treee3b4ead7fa5fd34f0f64c6b5fe8ebc944ca7bdc0 /inventory/host_vars/lw-master.yml
parentadd some more interface configs (diff)
yet another refactoring of the network config
Diffstat (limited to 'inventory/host_vars/lw-master.yml')
-rw-r--r--inventory/host_vars/lw-master.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/inventory/host_vars/lw-master.yml b/inventory/host_vars/lw-master.yml
index f7d3e5c9..533df8cb 100644
--- a/inventory/host_vars/lw-master.yml
+++ b/inventory/host_vars/lw-master.yml
@@ -27,7 +27,7 @@ network:
name: primary0
address: "{{ vm_host.network.bridges.public.prefix | ipaddr(vm_host.network.bridges.public.offsets[inventory_hostname]) | ipaddr('address/prefix') }}"
gateway: "{{ vm_host.network.bridges.public.prefix | ipaddr(vm_host.network.bridges.public.offsets[vm_host.name]) | ipaddr('address') }}"
- config: overlay
+ template: overlay
overlay: "{{ (vm_host.network.bridges.public.overlays.default.prefix | ipaddr(vm_host.network.bridges.public.overlays.default.offsets[inventory_hostname])).split('/')[0] }}"
interfaces:
- *_network_primary_