Ansible Role icingadb_web

IcingaDB consists of multiple components. This role only installs IcingaDB Web. Generally, the IcingaDB daemon is also required, use the linuxfabrik.lfops.icingadb role for that. Run the linuxfabrik.lfops.icingadb role first to initialise the database.

Mandatory Requirements

Tags

Tag

What it does

icingadb_web

Installs and configures IcingaDB Web.

Mandatory Role Variables

Variable

Description

icingadb_web__api_user_login

The account for accessing the Icinga2 API.

Example:

# mandatory
icingadb_web__api_user_login:
  username: 'icingadb-api-user'
  password: 'linuxfabrik'

Optional Role Variables

Variable

Description

Default Value

icingadb_web__api_host

The host on which the Icinga2 API is reachable.

'localhost'

icingadb_web__api_port

The port on which the Icinga2 API is reachable.

5665

icingadb_web__database_host

The host on which the IcingaDB SQL database is reachable.

'{{ icingadb__database_host }}'

icingadb_web__database_login

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

'{{ icingadb__database_login }}'

icingadb_web__database_name

The name of the IcingaDB SQL database.

'{{ icingadb__database_name }}'

icingadb_web__redis_host

The host on which Redis instance is reachable.

'{{ icingadb__redis_host }}'

icingadb_web__redis_password

The password for the Redis instance, if authentication is enabled.

`‘{{ icingadb__redis_password

icingadb_web__redis_port

The port on which Redis instance is reachable.

'{{ icingadb__redis_port }}'

Example:

# optional
icingadb_web__api_host: 'localhost'
icingadb_web__api_port: 5665
icingadb_web__database_host: '127.0.0.1'
icingadb_web__database_login:
  username: 'icingadb'
  password: 'linuxfabrik'
icingadb_web__database_name: 'icingadb'
icingadb_web__redis_host: '127.0.0.1'
icingadb_web__redis_password: 'linuxfabrik'
icingadb_web__redis_port: 6379

License

The Unlicense

Author Information

Linuxfabrik GmbH, Zurich