25 lines
513 B
YAML
25 lines
513 B
YAML
- name: Set NRPE Ceph configuration
|
|
copy:
|
|
src: nrpe.d/95-ceph.cfg
|
|
dest: /etc/nagios/nrpe.d/
|
|
owner: root
|
|
group: root
|
|
mode: u=rw,g=r,o=r
|
|
notify: restart-nrpe
|
|
- name: Copy Ceph NRPE plugins
|
|
copy:
|
|
src: plugins/
|
|
dest: /etc/nagios/plugins/
|
|
owner: root
|
|
group: root
|
|
mode: u=rwx,g=rx,o=rx
|
|
notify: restart-nrpe
|
|
- name: Add nagios to sudoers
|
|
copy:
|
|
src: sudoers
|
|
dest: /etc/sudoers.d/nagios
|
|
mode: u=rw,g=r,o=
|
|
owner: root
|
|
group: root
|
|
notify: restart-nrpe
|