This commit is contained in:
2025-11-23 17:08:13 +01:00
parent b3d616c5d2
commit 2ad1dc3ce9
+8 -2
View File
@@ -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
- psutil_installed is defined
- name: Debug NRPE installation result
debug:
var: nrpe_install_result