8025-awxRefactor-debianBootStrap #30
|
@ -14,7 +14,6 @@
|
|||
owner: root
|
||||
group: root
|
||||
mode: u=rw,g=r,o=r
|
||||
notify: restart-nrpe
|
||||
- name: Create NRPE local configuration file
|
||||
file:
|
||||
path: /etc/nagios/nrpe.d/99-local.cfg
|
||||
|
@ -24,3 +23,9 @@
|
|||
mode: u=rw,g=r,o=
|
||||
modification_time: preserve
|
||||
access_time: preserve
|
||||
- name: Configure nrpe.cfg to bind ipv4
|
||||
xavi marked this conversation as resolved
Outdated
|
||||
lineinfile:
|
||||
path: /etc/nagios/nrpe.cfg
|
||||
regexp: '^#server_address=127.0.0.1'
|
||||
line: 'server_address={{ ansible_default_ipv4.address }}'
|
||||
notify: restart-nrpe
|
Loading…
Reference in New Issue
No modificar ficheros con configuración por defecto, utilizar directorio .d