From 2ad1dc3ce9e6b2c2172ea64003fc469aa66812f8 Mon Sep 17 00:00:00 2001 From: Danny Date: Sun, 23 Nov 2025 17:08:13 +0100 Subject: [PATCH] x --- roles/pips/tasks/nagios_tasks.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/roles/pips/tasks/nagios_tasks.yml b/roles/pips/tasks/nagios_tasks.yml index 09f53cd..62e4fe0 100644 --- a/roles/pips/tasks/nagios_tasks.yml +++ b/roles/pips/tasks/nagios_tasks.yml @@ -115,9 +115,15 @@ - name: Deploy custom Nagios/NRPE script ansible.builtin.copy: src: files/memory_usage.py - dest: "{{ nrpe_location }}" + dest: {{ nrpe_location }}/memory_usage.py + owner: root + group: root mode: '0755' become: true when: - nrpe_installed is defined - - psutil_installed is defined \ No newline at end of file + - psutil_installed is defined + +- name: Debug NRPE installation result + debug: + var: nrpe_install_result