copy file to just dir

This commit is contained in:
2025-11-23 16:39:37 +01:00
parent 60ed5b4237
commit 4211f0cfe9
+1 -1
View File
@@ -115,7 +115,7 @@
- name: Deploy custom Nagios/NRPE script - name: Deploy custom Nagios/NRPE script
ansible.builtin.copy: ansible.builtin.copy:
src: memory_usage.py src: memory_usage.py
dest: "{{ nrpe_location }}/my_custom_check.py" dest: "{{ nrpe_location }}"
mode: '0755' mode: '0755'
when: when:
- nrpe_installed is defined - nrpe_installed is defined