ansible-repo/playbooks/exporters.yml

21 lines
487 B
YAML
Raw Permalink Normal View History

2024-10-22 16:16:43 +10:00
---
- name: node exporter!
hosts: all
gather_facts: yes
become: yes
roles:
#- role:
#- prometheus.prometheus.ipmi_exporter
- prometheus.prometheus.node_exporter
#node_exporter_local_cache_path: "/tmp/node_exporter_cache"
- name: for hardware monitoring
hosts: physical_machines
gather_facts: yes
become: yes
roles:
- role: prometheus.prometheus.ipmi_exporter
ipmi_exporter_system_user: root
ipmi_exporter_version: "1.9.0"