forked from ISTI-ansible-roles/ansible-roles
library/roles/nagios/tasks/nagios.yml: Fix the installation of nagios-plugins-contrib.
This commit is contained in:
parent
325a5d9066
commit
d0ca5c3aa6
|
@ -7,9 +7,13 @@
|
||||||
- name: Additional nagios plugins when available
|
- name: Additional nagios plugins when available
|
||||||
apt: pkg={{ item }} state=installed
|
apt: pkg={{ item }} state=installed
|
||||||
with_items: '{{ nagios_plugins_contrib }}'
|
with_items: '{{ nagios_plugins_contrib }}'
|
||||||
when:
|
when: is_not_debian_less_than_6
|
||||||
- is_not_debian_less_than_6
|
tags: [ 'nagios', 'nagios_plug_contrib' ]
|
||||||
- is_not_ubuntu_less_than_trusty
|
|
||||||
|
- name: Additional nagios plugins when available
|
||||||
|
apt: pkg={{ item }} state=installed
|
||||||
|
with_items: '{{ nagios_plugins_contrib }}'
|
||||||
|
when: is_not_ubuntu_less_than_trusty
|
||||||
tags: [ 'nagios', 'nagios_plug_contrib' ]
|
tags: [ 'nagios', 'nagios_plug_contrib' ]
|
||||||
|
|
||||||
- name: Create the directory where our local plugins are installed
|
- name: Create the directory where our local plugins are installed
|
||||||
|
|
Loading…
Reference in New Issue