diff --git a/monitor_client.yml b/monitor_client.yml index bdadc4c093b984295106d721487d5c26258be97c..1701ab08b21529f82834c20227c1bf28ec507ba9 100644 --- a/monitor_client.yml +++ b/monitor_client.yml @@ -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', + }