Commit 67b421f2 authored by tec's avatar tec

Tweak monitor_client again

parent 590975b9
......@@ -9,14 +9,8 @@
name: prometheus-node-exporter
state: latest
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_major_version != '10',
}
\ No newline at end of file
when: ansible_distribution == 'Debian' and ansible_distribution_version == '9',
}
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