summaryrefslogtreecommitdiff
path: root/inventory/host_vars/ele-emc-ctrl.yml
diff options
context:
space:
mode:
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_