Fix CI errors
parent
78643a163d
commit
b6f2faf279
|
@ -5,7 +5,9 @@
|
||||||
# Prometheus targets.json
|
# Prometheus targets.json
|
||||||
prometheus_targets:
|
prometheus_targets:
|
||||||
- labels: {job: node}
|
- labels: {job: node}
|
||||||
targets: "{{ groups['server'] | map('replace', '.org', '.org:9100') | list | sort }}"
|
targets: |
|
||||||
|
{{ groups['server'] | map('replace', '.org', '.org:9100') |
|
||||||
|
list | sort }}
|
||||||
- labels: {job: prometheus}
|
- labels: {job: prometheus}
|
||||||
targets: ['localhost:9090']
|
targets: ['localhost:9090']
|
||||||
prometheus_ups_snmp_targets:
|
prometheus_ups_snmp_targets:
|
||||||
|
|
|
@ -60,7 +60,7 @@
|
||||||
- name: Activate prometheus service
|
- name: Activate prometheus service
|
||||||
systemd:
|
systemd:
|
||||||
name: prometheus
|
name: prometheus
|
||||||
enabled: yes
|
enabled: true
|
||||||
state: started
|
state: started
|
||||||
|
|
||||||
- name: Indicate role in motd
|
- name: Indicate role in motd
|
||||||
|
|
Loading…
Reference in New Issue