From f9e653ae29a59a1dc966384228486a69d93fbe95 Mon Sep 17 00:00:00 2001 From: Danny Date: Sun, 23 Nov 2025 15:39:17 +0100 Subject: [PATCH] install nrpe script --- roles/pips/tasks/nagios_tasks.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/roles/pips/tasks/nagios_tasks.yml b/roles/pips/tasks/nagios_tasks.yml index 7a5c5e6..2da8661 100644 --- a/roles/pips/tasks/nagios_tasks.yml +++ b/roles/pips/tasks/nagios_tasks.yml @@ -105,4 +105,6 @@ src: memory_usage_check.py dest: /usr/local/nagios/libexec/my_custom_check.py mode: '0755' - when: nrpe_install_result is defined and nrpe_install_result.changed \ No newline at end of file + when: + - nrpe_installed is defined + - psutil_installed is defined \ No newline at end of file