Ansible Role icingaweb2_module_vspheredb

This role installs and configures the IcingaWeb2 vSphereDB Module.

This role is tested with the following IcingaWeb2 vSphereDB Module versions:

  • 1.6.0

  • 1.7.1

Mandatory Requirements

If you use the Setup Icinga2 Master Playbook and set setup_icinga2_master__skip_icingaweb2_module_vspheredb: false, this is automatically done for you.

Tags

Tag

What it does

icingaweb2_module_vspheredb

Installs and configures the IcingaWeb2 vSphereDB Module

Mandatory Role Variables

Variable

Description

icingaweb2_module_vspheredb__database_login

The user account for accessing the vSphereDB SQL database. Currently, only MySQL is supported.

icingaweb2_module_vspheredb__version

The Module version to install. Can be found here.

Example:

# mandatory
icingaweb2_module_vspheredb__database_login:
  username: 'icinga_vspheredb_user'
  password: 'linuxfabrik'
icingaweb2_module_vspheredb__version: '1.6.0'

Optional Role Variables

Variable

Description

Default Value

icingaweb2_module_vspheredb__database_host

The host of the SQL database server.

'localhost'

icingaweb2_module_vspheredb__database_name

The name of the vspheredb SQL database.

'icinga_vspheredb'

icingaweb2_module_vspheredb__service_enabled

Enables or disables the vSphereDB service, analogous to systemctl enable/disable --now.

true on the primary Icinga2 Master

Example:

# optional
icingaweb2_module_vspheredb__database_host: 'localhost'
icingaweb2_module_vspheredb__database_name: 'icinga_vspheredb'
icingaweb2_module_vspheredb__service_enabled: false

License

The Unlicense

Author Information

Linuxfabrik GmbH, Zurich