summaryrefslogtreecommitdiff
path: root/inventory/host_vars/ele-emc-ctrl.yml
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2022-09-06 02:24:00 +0200
committerChristian Pointner <equinox@spreadspace.org>2022-09-06 02:24:00 +0200
commitccdb42c40ce909c1026835b757984cf4cff7a940 (patch)
tree68d28bdff78a94e3deb179f955ab5a445a8a4c7a /inventory/host_vars/ele-emc-ctrl.yml
parentreplace some more ipaddr() filter calls (cont'd) (diff)
replace remaining ipaddr() filter calls
Diffstat (limited to 'inventory/host_vars/ele-emc-ctrl.yml')
-rw-r--r--inventory/host_vars/ele-emc-ctrl.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/inventory/host_vars/ele-emc-ctrl.yml b/inventory/host_vars/ele-emc-ctrl.yml
index f926c7d2..6b76c39d 100644
--- a/inventory/host_vars/ele-emc-ctrl.yml
+++ b/inventory/host_vars/ele-emc-ctrl.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_