x
This commit is contained in:
@@ -115,9 +115,15 @@
|
|||||||
- name: Deploy custom Nagios/NRPE script
|
- name: Deploy custom Nagios/NRPE script
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
src: files/memory_usage.py
|
src: files/memory_usage.py
|
||||||
dest: "{{ nrpe_location }}"
|
dest: {{ nrpe_location }}/memory_usage.py
|
||||||
|
owner: root
|
||||||
|
group: root
|
||||||
mode: '0755'
|
mode: '0755'
|
||||||
become: true
|
become: true
|
||||||
when:
|
when:
|
||||||
- nrpe_installed is defined
|
- nrpe_installed is defined
|
||||||
- psutil_installed is defined
|
- psutil_installed is defined
|
||||||
|
|
||||||
|
- name: Debug NRPE installation result
|
||||||
|
debug:
|
||||||
|
var: nrpe_install_result
|
||||||
|
|||||||
Reference in New Issue
Block a user