Rework ansible #1

Merged
polyfloyd merged 14 commits from linting into main 2024-07-12 17:40:38 +02:00
Showing only changes of commit 905affc83b - Show all commits

View file

@ -3,5 +3,5 @@
- name: Install or remove prometheus node-exporter
ansible.builtin.apt:
name: prometheus-node-exporter
state: "{% if node_exporter|bool %}present{% else %}absent{% endif %}
state: "{% if node_exporter %}present{% else %}absent{% endif %}"
autoremove: yes