summaryrefslogtreecommitdiff
path: root/inventory/host_vars/ch-epimetheus.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-epimetheus.yml
parentreplace some more ipaddr() filter calls (cont'd) (diff)
replace remaining ipaddr() filter calls
Diffstat (limited to 'inventory/host_vars/ch-epimetheus.yml')
-rw-r--r--inventory/host_vars/ch-epimetheus.yml10
1 files changed, 5 insertions, 5 deletions
diff --git a/inventory/host_vars/ch-epimetheus.yml b/inventory/host_vars/ch-epimetheus.yml
index 5e00b0cd..c528d71a 100644
--- a/inventory/host_vars/ch-epimetheus.yml
+++ b/inventory/host_vars/ch-epimetheus.yml
@@ -9,7 +9,7 @@ network:
domain: "{{ host_domain }}"
primary: &_network_primary_
name: enp1s0
- address: "{{ network_zones.lan.prefix | ipaddr(network_zones.lan.offsets[inventory_hostname]) | ipaddr('address/prefix') }}"
+ address: "{{ network_zones.lan.prefix | ansible.utils.ipaddr(network_zones.lan.offsets[inventory_hostname]) }}"
gateway: "{{ network_zones.lan.gateway }}"
interfaces:
- *_network_primary_
@@ -37,7 +37,7 @@ prometheus_exporters_extra:
prometheus_job_multitarget_blackbox__probe:
ch-mon:
- instance: "ssh-{{ inventory_hostname }}"
- target: "{{ network_zones.lan.prefix | ipaddr(network_zones.lan.offsets[inventory_hostname]) | ipaddr('address') }}:{{ ansible_port | default(22) }}"
+ target: "{{ network_zones.lan.prefix | ansible.utils.ipaddr(network_zones.lan.offsets[inventory_hostname]) | ansible.utils.ipaddr('address') }}:{{ ansible_port | default(22) }}"
module: ssh_banner
prometheus_job_multitarget_ssl__probe:
@@ -98,7 +98,7 @@ zfs_sanoid_modules:
zfs_syncoid_target_pool: backup
zfs_syncoid_sources:
'ch-prometheus':
- ssh_hostname: "{{ network_zones.lan.prefix | ipaddr(network_zones.lan.offsets['ch-prometheus']) | ipaddr('address') }}"
+ ssh_hostname: "{{ network_zones.lan.prefix | ansible.utils.ipaddr(network_zones.lan.offsets['ch-prometheus']) | ansible.utils.ipaddr('address') }}"
ssh_port: "{{ hostvars['ch-prometheus'].ansible_port }}"
report_prometheus_textfile_path: "/var/lib/prometheus-node-exporter/textfile-collector"
periodic:
@@ -117,7 +117,7 @@ zfs_syncoid_sources:
exclude:
- '^storage/vm'
'ch-phoebe':
- ssh_hostname: "{{ network_zones.lan.prefix | ipaddr(network_zones.lan.offsets['ch-phoebe']) | ipaddr('address') }}"
+ ssh_hostname: "{{ network_zones.lan.prefix | ansible.utils.ipaddr(network_zones.lan.offsets['ch-phoebe']) | ansible.utils.ipaddr('address') }}"
ssh_port: "{{ hostvars['ch-phoebe'].ansible_port }}"
report_prometheus_textfile_path: "/var/lib/prometheus-node-exporter/textfile-collector"
periodic:
@@ -128,7 +128,7 @@ zfs_syncoid_sources:
recursive: yes
skip_parent: yes
'ch-apps':
- ssh_hostname: "{{ network_zones.svc.prefix | ipaddr(network_zones.svc.offsets['ch-apps']) | ipaddr('address') }}"
+ ssh_hostname: "{{ network_zones.svc.prefix | ansible.utils.ipaddr(network_zones.svc.offsets['ch-apps']) | ansible.utils.ipaddr('address') }}"
ssh_port: "{{ hostvars['ch-apps'].ansible_port }}"
report_prometheus_textfile_path: "/var/lib/prometheus-node-exporter/textfile-collector"
periodic: