diff options
author | Christian Pointner <equinox@spreadspace.org> | 2022-09-06 00:38:34 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2022-09-06 00:38:34 +0200 |
commit | e07ba9a6b81aee01a364fb3d9aae67da8ab98ddc (patch) | |
tree | 5debd107e408504a484df26af4a223246052fac4 /inventory/host_vars/sk-torrent.yml | |
parent | replace some more ipaddr() filter calls.. (diff) |
replace some more ipaddr() filter calls (cont'd)
Diffstat (limited to 'inventory/host_vars/sk-torrent.yml')
-rw-r--r-- | inventory/host_vars/sk-torrent.yml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/inventory/host_vars/sk-torrent.yml b/inventory/host_vars/sk-torrent.yml index c7fc62b2..8305c6b5 100644 --- a/inventory/host_vars/sk-torrent.yml +++ b/inventory/host_vars/sk-torrent.yml @@ -26,10 +26,10 @@ network: interfaces: "{{ install.interfaces }}" primary: &_network_primary_ 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') }}" + address: "{{ vm_host.network.bridges.public.prefix | ansible.utils.ipaddr(vm_host.network.bridges.public.offsets[inventory_hostname]) }}" + gateway: "{{ vm_host.network.bridges.public.prefix | ansible.utils.ipaddr(vm_host.network.bridges.public.offsets[vm_host.name]) | ansible.utils.ipaddr('address') }}" template: overlay - overlay: "{{ (vm_host.network.bridges.public.overlays.default.prefix | ipaddr(vm_host.network.bridges.public.overlays.default.offsets[inventory_hostname])).split('/')[0] }}" + overlay: "{{ (vm_host.network.bridges.public.overlays.default.prefix | ansible.utils.ipaddr(vm_host.network.bridges.public.overlays.default.offsets[inventory_hostname])).split('/')[0] }}" interfaces: - *_network_primary_ |