commited current state

This commit is contained in:
Ansible Servercow
2026-04-14 11:38:07 +02:00
parent ea7d5112d6
commit 590d37e4cf
10 changed files with 96 additions and 73 deletions

View File

@@ -0,0 +1,2 @@
checkmk_agent_plugins_to_remove:
- "docker-mailq-monitoring"

View File

@@ -0,0 +1,14 @@
---
- name: "Find and remove specified Checkmk agent plugins"
block:
- name: "Remove Checkmk agent plugins"
ansible.builtin.file:
path: "/usr/lib/check_mk_agent/local/{{ item }}"
state: absent
loop: "{{ checkmk_agent_plugins_to_remove }}"
when: checkmk_agent_plugins_to_remove is defined
- name: "Debug: Removed plugins"
ansible.builtin.debug:
msg: "Removed plugins: {{ checkmk_agent_plugins_to_remove }}"
when: checkmk_agent_plugins_to_remove is defined