From 2d1b76ecdf0a0056b28847aca7a1420c2597f7bf Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Tue, 27 Oct 2020 15:34:21 -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 #