summaryrefslogtreecommitdiff
path: root/inventory/host_vars/sk-torrent.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/sk-torrent.yml
parentadd some more interface configs (diff)
yet another refactoring of the network config
Diffstat (limited to 'inventory/host_vars/sk-torrent.yml')
-rw-r--r--inventory/host_vars/sk-torrent.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/inventory/host_vars/sk-torrent.yml b/inventory/host_vars/sk-torrent.yml
index a164b7b0..c7fc62b2 100644
--- a/inventory/host_vars/sk-torrent.yml
+++ b/inventory/host_vars/sk-torrent.yml
@@ -28,7 +28,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_