we need to actually install the icinga2 package

This commit is contained in:
staticsafe 2018-07-07 13:54:36 -04:00
parent a900a1cba0
commit baf1c53f13
1 changed files with 5 additions and 1 deletions

View File

@ -9,10 +9,14 @@
rpm_key:
state: present
key: https://packages.icinga.com/icinga.key
- name: Install Icinga2
- name: Install Icinga2 repository
yum:
name: https://packages.icinga.com/epel/icinga-rpm-release-7-latest.noarch.rpm
state: latest
- name: Install Icinga2 packages
yum:
name: icinga2
state: latest
- name: Ensure that icinga2 systemd service is enabled
systemd:
name: icinga2