Add compatibility with ubuntu
This commit is contained in:
parent
9505f08a64
commit
1bb1cce360
1 changed files with 2 additions and 2 deletions
|
|
@ -6,7 +6,7 @@
|
||||||
- nagios-nrpe-plugin
|
- nagios-nrpe-plugin
|
||||||
state: present
|
state: present
|
||||||
update_cache: yes
|
update_cache: yes
|
||||||
when: ansible_distribution == 'Debian'
|
when: ansible_distribution == 'Debian' or ansible_distribution == 'Ubuntu'
|
||||||
|
|
||||||
- name: install nrpe packages (alpine)
|
- name: install nrpe packages (alpine)
|
||||||
apk:
|
apk:
|
||||||
|
|
@ -35,7 +35,7 @@
|
||||||
dest: /etc/nagios/nrpe.cfg
|
dest: /etc/nagios/nrpe.cfg
|
||||||
notify:
|
notify:
|
||||||
- reload nagios-nrpe-server
|
- reload nagios-nrpe-server
|
||||||
when: ansible_distribution == 'Debian'
|
when: ansible_distribution == 'Debian' or ansible_distribution == 'Ubuntu'
|
||||||
|
|
||||||
- name: ensure /etc/nagios/nrpe.d exists
|
- name: ensure /etc/nagios/nrpe.d exists
|
||||||
file:
|
file:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue