Skip to content
Ansible role to install Icinga 2 on Debian, Ubuntu, RHEL and CentOS
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
defaults Initial commit Jul 2, 2019
meta Minor updates Ansible Galaxy meta info Nov 1, 2019
molecule/default
tasks Initial commit Jul 2, 2019
.gitignore
.travis.yml
.yamllint
LICENSE
README.md

README.md

Ansible Role: Icinga 2

Build Status

This role installs Icinga 2 from the official package repositories on systems running Debian/Ubuntu and RHEL/CentOS.

Requirements

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.

Dependencies

This role has no dependencies.

Variables

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.

icinga2_service_state: started

Sets 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: true

Defines whether Icinga 2 is started on boot.

License

This role is available under the terms of the MIT license.

Author

This role was created by Transitiv Technologes Ltd..

You can’t perform that action at this time.