28 lines
1.3 KiB
Markdown
28 lines
1.3 KiB
Markdown
Configuration Management Database
|
|
=================================
|
|
|
|
Diese Rolle erstellt eine [CMDB](https://de.wikipedia.org/wiki/Configuration_Management_Database) innerhalb eines vorhandenen Dokuwikis.
|
|
|
|
## Installation
|
|
Führe die Rolle mit dem `install`-Tag aus:
|
|
```Shell
|
|
ansible-playbook playbooks/cmdb.yml --tags install
|
|
```
|
|
|
|
## Erstellung / Aktualisierung der Einträge
|
|
Führe die Rolle ohne `install`-Tag aus:
|
|
```Shell
|
|
ansible-playbook playbooks/cmdb.yml --skip-tags install
|
|
```
|
|
|
|
## Variablen
|
|
|
|
| Variable Name | Function | Default value | File |
|
|
| ------------- | -------- | ------------- | ---- |
|
|
| `cmdb` | Dictionary for dokuwiki server variables _(required)_ | -- | `group_vars/all/cmdb.yml` |
|
|
| `cmdb.wiki_server` | dokuwiki server _(required)_ | -- | `group_vars/all/cmdb.yml` |
|
|
| `cmdb.wiki_pages_path` | path for wiki pages on dokuwiki server _(required)_ | -- | `group_vars/all/cmdb.yml` |
|
|
| `cmdb.wiki_media_path` | path for media on dokuwiki server _(required)_ | -- | `group_vars/all/cmdb.yml` |
|
|
| `cmdb.wiki_meta_path` | path for metadata on dokuwiki server _(required)_ | -- | `group_vars/all/cmdb.yml` |
|
|
| `cmdb.wiki_user` | File system user of wiki files and directories _(required)_ | -- | `group_vars/all/cmdb.yml`|
|
|
| `cmdb.wiki_group` | File system group of wiki files and directories _(required)_ | -- | `group_vars/all/cmdb.yml`|
|