Ansible Role icingaweb2_module_cube¶
This role installs and enables the IcingaWeb2 Cube Module, which provides multi-dimensional pivot views (cubes) of host and service data in IcingaWeb2.
This role is tested with the following IcingaWeb2 Cube Module versions:
1.3.3
Available since LFOps 3.0.0.
How the Role Behaves¶
The Tarball for
icingaweb2_module_cube__versionis downloaded on the Ansible controller (delegate_to: 'localhost',run_once: true), then copied to the target. The controller therefore needs Internet access to GitHub; the target does not.On every role run the directory
/usr/share/icingaweb2/modules/cubeis overwritten with the contents of the configured version. To upgrade or downgrade the module, changeicingaweb2_module_cube__versionand re-run the role.icingacli module enable cubeis only invoked when/etc/icingaweb2/enabledModules/cubedoes not yet exist (idempotent).
Mandatory Requirements¶
A configured IcingaWeb2. This can be done using the linuxfabrik.lfops.icingaweb2 role.
Internet access from the Ansible controller (downloads from
https://github.com/Icinga/icingaweb2-module-cube/archive/).
Mandatory Role Variables¶
icingaweb2_module_cube__version
The module version to install. Possible options: https://github.com/Icinga/icingaweb2-module-cube/releases.
Type: String.
Example:
# mandatory
icingaweb2_module_cube__version: 'v1.3.3'
Optional Role Variables¶
icingaweb2_module_cube__url
The URL from which the module tarball is downloaded. Override only if you mirror the upstream GitHub release elsewhere.
Type: String.
Default:
'https://github.com/Icinga/icingaweb2-module-cube/archive/{{ icingaweb2_module_cube__version }}.tar.gz'
Example:
# optional
icingaweb2_module_cube__url: 'https://github.com/Linuxfabrik/icingaweb2-module-cube/archive/{{ icingaweb2_module_cube__version }}.tar.gz'