diff options
author | Christian Pointner <equinox@spreadspace.org> | 2022-09-06 02:07:23 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2022-09-06 02:07:23 +0200 |
commit | 081c0f926cba1636a6655d51b60809fb2610bc89 (patch) | |
tree | 521ed46ae8c49a06fa260dfe8b781179b0eb2e85 /inventory/host_vars/ch-apps.yml | |
parent | replace some more ipaddr() filter calls (cont'd) (diff) |
replace some more ipaddr() filter calls (cont'd)
Diffstat (limited to 'inventory/host_vars/ch-apps.yml')
-rw-r--r-- | inventory/host_vars/ch-apps.yml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/inventory/host_vars/ch-apps.yml b/inventory/host_vars/ch-apps.yml index 52ec069a..04ea9e0f 100644 --- a/inventory/host_vars/ch-apps.yml +++ b/inventory/host_vars/ch-apps.yml @@ -36,11 +36,11 @@ 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_ @@ -61,7 +61,7 @@ ssh_keys_root_extra: prometheus_job_multitarget_blackbox__probe: ch-mon: - instance: "ssh-{{ inventory_hostname }}" - target: "{{ network_zones.svc.prefix | ipaddr(network_zones.svc.offsets[inventory_hostname]) | ipaddr('address') }}:{{ ansible_port | default(22) }}" + target: "{{ network_zones.svc.prefix | ansible.utils.ipaddr(network_zones.svc.offsets[inventory_hostname]) | ansible.utils.ipaddr('address') }}:{{ ansible_port | default(22) }}" module: ssh_banner |