rewritten check_mk check reset

This commit is contained in:
2021-10-13 16:08:41 +02:00
parent 2a921ecf2f
commit 6ec32fffca
+11 -5
View File
@@ -27,9 +27,15 @@
apt:
autoremove: true
#- name: reset state of check_mk check
# file:
# path: "{{ item }}"
# state: absent
# with_fileglob:
# - "/var/lib/check_mk_agent/cache/plugins_86400\\mk_apt.cache"
- name: reset state of check_mk check
file:
path: "{{ item }}"
state: absent
with_fileglob:
- "/var/lib/check_mk_agent/cache/plugins_86400\\mk_apt.cache"
ansible.buildin.file:
path: /var/lib/check_mk_agent/cache/plugins_86400\\mk_apt.cache
state: touch
modification_time: 202001010101.01