Add icinga2 check packages to centos/roles/icinga-client/tasks/main.yml

This commit is contained in:
staticsafe 2018-07-07 14:09:50 -04:00
parent baf1c53f13
commit 3180339833
1 changed files with 8 additions and 2 deletions

View File

@ -15,8 +15,14 @@
state: latest
- name: Install Icinga2 packages
yum:
name: icinga2
state: latest
name: "{{ packages }}"
vars:
packages:
- icinga2
- nagios-plugins-load
- nagios-plugins-swap
- nagios-plugins-procs
- nagios-plugins-users
- name: Ensure that icinga2 systemd service is enabled
systemd:
name: icinga2