summaryrefslogtreecommitdiff
path: root/inventory/host_vars/ch-nic.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/ch-nic.yml
parentreplace some more ipaddr() filter calls (cont'd) (diff)
replace remaining ipaddr() filter calls
Diffstat (limited to 'inventory/host_vars/ch-nic.yml')
-rw-r--r--inventory/host_vars/ch-nic.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/inventory/host_vars/ch-nic.yml b/inventory/host_vars/ch-nic.yml
index 4a323853..1a4adf29 100644
--- a/inventory/host_vars/ch-nic.yml
+++ b/inventory/host_vars/ch-nic.yml
@@ -25,10 +25,10 @@ network:
interfaces: "{{ install.interfaces }}"
primary: &_network_primary_
name: svc0
- address: "{{ network_zones.svc.prefix | ipaddr(network_zones.svc.offsets[inventory_hostname]) | ipaddr('address/prefix') }}"
+ address: "{{ network_zones.svc.prefix | ansible.utils.ipaddr(network_zones.svc.offsets[inventory_hostname]) }}"
gateway: "{{ network_zones.svc.gateway }}"
static_routes:
- destination: "{{ network_zones.lan.prefix }}"
- gateway: "{{ network_zones.svc.prefix | ipaddr(network_zones.svc.offsets['ch-gw-lan']) | ipaddr('address') }}"
+ gateway: "{{ network_zones.svc.prefix | ansible.utils.ipaddr(network_zones.svc.offsets['ch-gw-lan']) | ansible.utils.ipaddr('address') }}"
interfaces:
- *_network_primary_