Nodeexporter single task version
This commit is contained in:
parent
7d268140db
commit
905affc83b
1 changed files with 1 additions and 1 deletions
|
@ -3,5 +3,5 @@
|
||||||
- name: Install or remove prometheus node-exporter
|
- name: Install or remove prometheus node-exporter
|
||||||
ansible.builtin.apt:
|
ansible.builtin.apt:
|
||||||
name: prometheus-node-exporter
|
name: prometheus-node-exporter
|
||||||
state: "{% if node_exporter|bool %}present{% else %}absent{% endif %}
|
state: "{% if node_exporter %}present{% else %}absent{% endif %}"
|
||||||
autoremove: yes
|
autoremove: yes
|
||||||
|
|
Loading…
Add table
Reference in a new issue