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
A configured IcingaWeb2. This can be done using the linuxfabrik.lfops.icingaweb2 role.
A SQL database and user. This can be done using the linuxfabrik.lfops.mariadb_server role.
If you use the Setup Icinga2 Master Playbook and set setup_icinga2_master__skip_icingaweb2_module_vspheredb: false
, this is automatically done for you.
Mandatory Role Variables
Variable |
Description |
---|---|
|
The user account for accessing the vSphereDB SQL database. Currently, only MySQL is supported. |
|
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 |
---|---|---|
|
The host of the SQL database server. |
|
|
The name of the vspheredb SQL database. |
|
|
Enables or disables the vSphereDB service, analogous to |
|
Example:
# optional
icingaweb2_module_vspheredb__database_host: 'localhost'
icingaweb2_module_vspheredb__database_name: 'icinga_vspheredb'
icingaweb2_module_vspheredb__service_enabled: false