Ansible Role linuxfabrik.lfops.icingaweb2_module_incubator¶
This role installs and enables the IcingaWeb2 Incubator Module, a shared library required by several other IcingaWeb2 modules.
This role is tested with the following IcingaWeb2 Incubator Module versions:
- 0.17.0
- 0.20.0
Available since LFOps 2.0.0.
How the Role Behaves¶
- The Tarball for
icingaweb2_module_incubator__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/incubatoris overwritten with the contents of the configured version. To upgrade or downgrade the module, changeicingaweb2_module_incubator__versionand re-run the role. icingacli module enable incubatoris only invoked when/etc/icingaweb2/enabledModules/incubatordoes not yet exist (idempotent).
Requirements¶
- The Ansible controller must have Internet access (downloads from
https://github.com/Icinga/icingaweb2-module-incubator/archive/).
Manual steps:
- Deploy a configured IcingaWeb2 by running the icingaweb2 playbook (role: linuxfabrik.lfops.icingaweb2).
Tags¶
icingaweb2_module_incubator
- Installs and enables the IcingaWeb2 Incubator Module.
- Triggers: none.
Mandatory Role Variables¶
icingaweb2_module_incubator__version
- The module version to install. Possible options: https://github.com/Icinga/icingaweb2-module-incubator/releases.
- Type: String.
Example:
# mandatory
icingaweb2_module_incubator__version: 'v0.20.0'