Skip to content

adfinis/ansible-role-icinga2_agent

Repository files navigation

ROLE ICINGA2_AGENT

image

image

image

This role is used to install the Icinga2 agent and the nagios plugins.

Requirements

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.

Role Variables

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"

Dependencies

This role has no direct dependency to other roles.

Example Playbook

- hosts: servers
  roles:
     - { role: adfinis.icinga2_agent }

License

GPL-3.0

Author Information

icinga2_agent role was written by: