Skip to content

Commit fc5062b

Browse files
authored
Merge pull request #239 from Icinga/docs/icingadb-database-management
Updates documentation for IcingaDB schema management
2 parents 2b3a42b + 9db4a45 commit fc5062b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

doc/role-icingadb/role-icingadb.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ For more information on the respective settings please see [the official documen
2525
| `icingadb_database_ca` | `String` | Defines the path to the certificate authority for the TLS connection. | **n/a** |
2626
| `icingadb_database_cert` | `String` | Defines the path to the certificate for client key authentication. | **n/a** |
2727
| `icingadb_database_host` | `String` | Defines database address to connect to. | `127.0.0.1` |
28-
| `icingadb_database_import_schema` | `bool` | Defines whether to import the schema into the database or not. | `false` |
28+
| `icingadb_database_import_schema` | `bool` | Defines whether to import the schema into the database or not. **Needs `icingadb_database_type` to be set**. | `false` |
2929
| `icingadb_database_key` | `String` | Defines the path to the certificate key for client key authentication. | **n/a** |
3030
| `icingadb_database_name` | `String` | Defines the database to connect to. | `icingadb` |
3131
| `icingadb_database_password` | `String` | Defines the database password to connect with. | `icingadb` |
@@ -81,6 +81,7 @@ This play installs IcingaDB with on the same host as its connected MysQL databas
8181
become: true
8282
vars:
8383
icingadb_database_import_schema: true # Import the schema into the database
84+
icingadb_database_type: mysql # needed by the schema import
8485

8586
roles:
8687
- role: icinga.icinga.icingadb

0 commit comments

Comments
 (0)