From f86ec6241624e7c85352415ef6c387395dff92d7 Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Fri, 1 Sep 2023 15:42:24 -0400 Subject: [PATCH] Add check-mk-agent plugin installs These are used by various Ansible tasks, even if the administrator is not using Check_MK for monitoring. --- roles/base/tasks/main.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/roles/base/tasks/main.yml b/roles/base/tasks/main.yml index e347352..2ea80ea 100644 --- a/roles/base/tasks/main.yml +++ b/roles/base/tasks/main.yml @@ -470,6 +470,21 @@ - { src: "etc/fail2ban/jail.d/sshd.local.j2", dest: "/etc/fail2ban/jail.d/sshd.local" } tags: fail2ban +# check-mk-agent +- name: install check_mk agent plugins + copy: + src: "usr/lib/check_mk_agent/plugins/{{ item }}" + dest: "/usr/lib/check_mk_agent/plugins/{{ item }}" + with_items: + - backup + - cephfsmounts + - dpkg + - entropy + - freshness + - kernelversion + - ownership + tags: check-mk-agent + # # Configure users #