NRPE: change default plugins directory back to /usr/local/lib/nagiosplugins
This commit is contained in:
parent
7f4e90e494
commit
80feac95f7
|
@ -4,4 +4,5 @@ nagios_nrpe_ldap_dc: "dc=DOMAIN,dc=EXT"
|
||||||
nagios_nrpe_ldap_passwd: LDAP_PASSWD
|
nagios_nrpe_ldap_passwd: LDAP_PASSWD
|
||||||
nagios_nrpe_pgsql_passwd: PGSQL_PASSWD
|
nagios_nrpe_pgsql_passwd: PGSQL_PASSWD
|
||||||
nagios_nrpe_amavis_from: "foobar@{{ ansible_domain }}"
|
nagios_nrpe_amavis_from: "foobar@{{ ansible_domain }}"
|
||||||
nagios_plugins_directory: "/etc/nagios/plugins"
|
|
||||||
|
nagios_plugins_directory: "/usr/local/lib/nagios/plugins"
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
- name: Nagios plugins are installed
|
- name: Nagios plugins are installed
|
||||||
copy:
|
copy:
|
||||||
src: plugins/
|
src: plugins/
|
||||||
dest: /usr/local/lib/nagios/plugins/
|
dest: {{ nagios_plugins_directory }}/
|
||||||
mode: "0755"
|
mode: "0755"
|
||||||
notify: restart nagios-nrpe-server
|
notify: restart nagios-nrpe-server
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue