Rename residence_physical -> residence_pve

This commit is contained in:
pz2891 2021-01-06 17:46:09 +01:00
parent 44f50ff240
commit 681ec7d7c6

View file

@ -8,7 +8,7 @@
# Prometheus targets.json # Prometheus targets.json
prometheus_targets: prometheus_targets:
- targets: | - targets: |
{{ groups['fleming_physical'] + groups['fleming_vm'] | list | sort }} {{ groups['fleming_pve'] + groups['fleming_vm'] | list | sort }}
prometheus_unifi_snmp_targets: prometheus_unifi_snmp_targets:
- targets: "{{ groups['fleming_unifi'] | list | sort }}" - targets: "{{ groups['fleming_unifi'] | list | sort }}"
roles: roles:
@ -22,13 +22,13 @@
# Prometheus targets.json # Prometheus targets.json
prometheus_targets: prometheus_targets:
- targets: | - targets: |
{{ groups['pacaterie_physical'] + groups['pacaterie_vm'] | list | sort }} {{ groups['pacaterie_pve'] + groups['pacaterie_vm'] | list | sort }}
prometheus_unifi_snmp_targets: prometheus_unifi_snmp_targets:
- targets: "{{ groups['pacaterie_unifi'] | list | sort }}" - targets: "{{ groups['pacaterie_unifi'] | list | sort }}"
roles: roles:
- prometheus - prometheus
- hosts: prometheus-edc.adm.auro.re,prometheus-edc-fo.adm.auro.re - hosts: prometheus-edc.adm.auro.re
vars: vars:
prometheus_alertmanager: docker-ovh.adm.auro.re:9093 prometheus_alertmanager: docker-ovh.adm.auro.re:9093
snmp_unifi_password: "{{ vault_snmp_unifi_password }}" snmp_unifi_password: "{{ vault_snmp_unifi_password }}"
@ -36,7 +36,7 @@
# Prometheus targets.json # Prometheus targets.json
prometheus_targets: prometheus_targets:
- targets: | - targets: |
{{ groups['edc_physical'] + groups['edc_vm'] | list | sort }} {{ groups['edc_pve'] + groups['edc_vm'] | list | sort }}
prometheus_unifi_snmp_targets: prometheus_unifi_snmp_targets:
- targets: "{{ groups['edc_unifi'] | list | sort }}" - targets: "{{ groups['edc_unifi'] | list | sort }}"
roles: roles:
@ -50,7 +50,7 @@
# Prometheus targets.json # Prometheus targets.json
prometheus_targets: prometheus_targets:
- targets: | - targets: |
{{ groups['georgesand_physical'] + groups['georgesand_vm'] | list | sort }} {{ groups['georgesand_pve'] + groups['georgesand_vm'] | list | sort }}
prometheus_unifi_snmp_targets: prometheus_unifi_snmp_targets:
- targets: "{{ groups['georgesand_unifi'] | list | sort }}" - targets: "{{ groups['georgesand_unifi'] | list | sort }}"
roles: roles: