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
|
||||
state: present
|
||||
update_cache: yes
|
||||
when: ansible_distribution == 'Debian'
|
||||
when: ansible_distribution == 'Debian' or ansible_distribution == 'Ubuntu'
|
||||
|
||||
- name: install nrpe packages (alpine)
|
||||
apk:
|
||||
|
|
@ -35,7 +35,7 @@
|
|||
dest: /etc/nagios/nrpe.cfg
|
||||
notify:
|
||||
- reload nagios-nrpe-server
|
||||
when: ansible_distribution == 'Debian'
|
||||
when: ansible_distribution == 'Debian' or ansible_distribution == 'Ubuntu'
|
||||
|
||||
- name: ensure /etc/nagios/nrpe.d exists
|
||||
file:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue