x
This commit is contained in:
@@ -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
|
||||
|
||||
- name: Debug NRPE installation result
|
||||
debug:
|
||||
var: nrpe_install_result
|
||||
|
||||
Reference in New Issue
Block a user