diff options
author | Christian Pointner <equinox@spreadspace.org> | 2020-07-22 23:42:03 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2020-07-22 23:42:03 +0200 |
commit | 8c76a1b0c6e925b529b1cd03ded5b9d0b3d707c4 (patch) | |
tree | e3b4ead7fa5fd34f0f64c6b5fe8ebc944ca7bdc0 /inventory/host_vars/lw-master.yml | |
parent | add 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.yml | 2 |
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_ |