| |
@@ -22,41 +22,43 @@
|
| |
|
| |
## Install the initial packages for the group.
|
| |
- name: Install nagios packages
|
| |
- package: name={{ item }} state=present
|
| |
- with_items:
|
| |
- - php
|
| |
- - nagios.x86_64
|
| |
- - nagios-selinux
|
| |
- - nrpe-selinux
|
| |
- - nagios-plugins
|
| |
- - nagios-plugins-dig
|
| |
- - nagios-plugins-disk
|
| |
- - nagios-plugins-dns
|
| |
- - nagios-plugins-dummy
|
| |
- - nagios-plugins-file_age
|
| |
- - nagios-plugins-http
|
| |
- - nagios-plugins-load
|
| |
- - nagios-plugins-nagios
|
| |
- - nagios-plugins-nrpe
|
| |
- - nagios-plugins-perl
|
| |
- - nagios-plugins-pgsql
|
| |
- - nagios-plugins-ping
|
| |
- - nagios-plugins-procs
|
| |
- - nagios-plugins-smtp
|
| |
- - nagios-plugins-ssh
|
| |
- - nagios-plugins-swap
|
| |
- - nagios-plugins-tcp
|
| |
- - nagios-plugins-users
|
| |
- - perl-Mail-IMAPClient
|
| |
- - stunnel
|
| |
- - mod_auth_gssapi
|
| |
- tags:
|
| |
- - nagios_server
|
| |
-
|
| |
+ package:
|
| |
+ state: present
|
| |
+ name:
|
| |
+ - php
|
| |
+ - nagios.x86_64
|
| |
+ - nagios-selinux
|
| |
+ - nrpe-selinux
|
| |
+ - nagios-plugins
|
| |
+ - nagios-plugins-dig
|
| |
+ - nagios-plugins-disk
|
| |
+ - nagios-plugins-dns
|
| |
+ - nagios-plugins-dummy
|
| |
+ - nagios-plugins-file_age
|
| |
+ - nagios-plugins-http
|
| |
+ - nagios-plugins-load
|
| |
+ - nagios-plugins-nagios
|
| |
+ - nagios-plugins-nrpe
|
| |
+ - nagios-plugins-perl
|
| |
+ - nagios-plugins-pgsql
|
| |
+ - nagios-plugins-ping
|
| |
+ - nagios-plugins-procs
|
| |
+ - nagios-plugins-smtp
|
| |
+ - nagios-plugins-ssh
|
| |
+ - nagios-plugins-swap
|
| |
+ - nagios-plugins-tcp
|
| |
+ - nagios-plugins-users
|
| |
+ - perl-Mail-IMAPClient
|
| |
+ - stunnel
|
| |
+ - mod_auth_gssapi
|
| |
+ tags:
|
| |
+ - nagios_server
|
| |
+
|
| |
- name: Install the SSL apache module
|
| |
- package: name={{ item }} state=present
|
| |
- with_items:
|
| |
- - mod_ssl
|
| |
+ package:
|
| |
+ state: present
|
| |
+ name:
|
| |
+ - mod_ssl
|
| |
when: env == "production" and nagios_location == "external"
|
| |
|
| |
|
| |