This role is used to install the Icinga2 agent and the nagios plugins.
This role requires the EPEL repositories to be configured on the target system. The following role is suggested: adfinis.pkg_mirror
On RHEL and OracleLinux the optional repo needs to be configured on the target system as well.
icinga2_agent_yum:
# The Icinga yum repository
repo: "http://packages.icinga.com/epel/$releasever/release/"
# The icinga signing key
key: "http://packages.icinga.com/icinga.key"
icinga2_agent_apt:
# The Icinga apt repository
repo: "deb http://packages.icinga.com/{{ ansible_distribution|lower }} icinga-{{ ansible_distribution_release }} main"
# The icinga signing key
key: "http://packages.icinga.com/icinga.key"
This role has no direct dependency to other roles.
- hosts: servers
roles:
- { role: adfinis.icinga2_agent }
icinga2_agent role was written by: