Ansible Role: Icinga 2
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: yes
Note that the EPEL repository must be enabled on CentOS/RHEL and the backports repository is required on Debian Stretch.
This role has no dependencies.
icinga2_packages: - icinga2
Defines the package(s) installed by the role. This variable is "flattened" before it is used so it can contain nested lists if desired.
Sets the state of the service whenever the role is invoked (refer to the
state parameter of the service module for valid values).
Defines 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.