Commit 76213f40 authored by tec's avatar tec

Add version nuance to monitor_client

parent 84a38891
......@@ -8,10 +8,15 @@
apt:
name: prometheus-node-exporter
state: latest
# roles:
# - cloudalchemy.node-exporter
# vars:
# node_exporter_enabled_collectors:
# - systemd
# - textfile
# - processes
when: ansible_distribution == 'Debian' and ansible_distribution_major_version == '10'
- name: Occlude prometheus-node-exporter package on Debian!=10
apt:
name: prometheus-node-exporter
state: absent
purge: true
when: ansible_distribution == 'Debian' and ansible_distribution_major_version != '10'
roles:
- {
role: cloudalchemy.node-exporter,
when: ansible_distribution == 'Debian' and ansible_distribution_version != '10.2',
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment