NRPE plugins dir was not created

This commit is contained in:
Jérémy Dubois 2020-10-14 16:35:17 +02:00
parent 6dd4b6b8aa
commit cc80aefac7
1 changed files with 8 additions and 0 deletions

View File

@ -30,6 +30,14 @@
dest: /etc/nrpe.d/evolix.cfg
notify: restart nrpe
- name: Create nrpe plugins dir
file:
path: /usr/local/libexec/nagios/plugins/
state: directory
owner: root
group: wheel
mode: "0755"
- name: Nagios plugins are installed
copy:
src: plugins_bsd/{{ item.name }}