fixes: ghost image upgrades and smartctl exporter

This commit is contained in:
2026-07-27 12:51:28 -04:00
parent b3fdf181a1
commit 386e165f6b
6 changed files with 116 additions and 7 deletions
+4 -4
View File
@@ -3,15 +3,15 @@
ansible.builtin.apt:
name: prometheus-smartctl-exporter
state: present
when: ansible_os_family == "Debian"
when: ansible_facts["os_family"] == "Debian"
become: true
- name: Install smartctl_exporter (Arch)
aur:
name: prometheus-smartctl-exporter-bin
use: pikaur
name: prometheus-smartctl-exporter
use: "{{ aur_helper }}"
state: present
when: ansible_os_family == "Archlinux"
when: ansible_facts["os_family"] == "Archlinux"
- name: Enable and start smartctl_exporter service
ansible.builtin.systemd: