Prometheus: cleanup #90
1 changed files with 0 additions and 14 deletions
|
@ -63,20 +63,6 @@
|
||||||
- snmp.yml
|
- snmp.yml
|
||||||
notify: Restart prometheus-snmp-exporter
|
notify: Restart prometheus-snmp-exporter
|
||||||
|
|
||||||
- name: Remove old targets
|
|
||||||
file:
|
|
||||||
path: "{{ item }}"
|
|
||||||
state: absent
|
|
||||||
loop:
|
|
||||||
- /etc/prometheus/targets.json
|
|
||||||
- /etc/prometheus/targets_unifi_snmp.json
|
|
||||||
- /etc/prometheus/targets_switch_snmp.json
|
|
||||||
- /etc/prometheus/targets_ups_snmp.json
|
|
||||||
- /etc/prometheus/targets_docker.json
|
|
||||||
- /etc/prometheus/targets_postgres.json
|
|
||||||
- /etc/prometheus/targets_apc_pdu_snmp.json
|
|
||||||
- /etc/prometheus/targets_ipmi.json
|
|
||||||
|
|
||||||
- name: Activate prometheus service
|
- name: Activate prometheus service
|
||||||
systemd:
|
systemd:
|
||||||
name: prometheus
|
name: prometheus
|
||||||
|
|
Loading…
Reference in a new issue