This role installs Icinga 2 from the official package repositories on systems running Debian/Ubuntu and RHEL/CentOS.
Root accesss is required for installing packages, so you must run it in a playbook with global root privileges or define become: yes when the role is included:
- hosts: icinga2_servers
roles:
- role: transitiv.icinga2
become: yesNote that the EPEL repository must be enabled on CentOS/RHEL.
This role has no dependencies.
icinga2_packages:
- icinga2
icinga2_group_packages:
- icinga2-ido-mysql
icinga_host_packages: []Defines the package(s) installed by the role. The variables are combined and flattened before being used so can contain nested lists if desired.
icinga2_service_state: startedSets the state of the service whenever the role is invoked (refer to the state parameter of the service module for valid values).
icinga2_service_enabled: trueDefines whether Icinga 2 is started on boot.
This role is available under the terms of the MIT license.
This role was created by Transitiv Technologes Ltd.