ansible-repo/playbooks/exporters.yml
hogweed1 d027e4674f
Some checks reported errors
continuous-integration/drone/push Build encountered an error
++
2025-04-14 01:46:47 +10:00

42 lines
946 B
YAML

---
- name: node exporter!
hosts: all:!lxc
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: king-albert.guaranteedstruggle.host
gather_facts: yes
become: yes
roles:
- role: prometheus.prometheus.ipmi_exporter
ipmi_exporter_system_user: root
ipmi_exporter_version: "1.9.0"
- name: for proxmox monitoring
hosts: proxmoxes
gather_facts: yes
become: yes
tasks:
- name: Install the packages versions
ansible.builtin.package:
name:
- python3-pip
#state: latest
state: present
- name: Install exporer
ansible.builtin.pip:
name: prometheus-pve-exporter
break_system_packages: true