fixes: ghost image upgrades and smartctl exporter
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user