Purge cache after running the role
This commit is contained in:
parent
b8b8ebf00c
commit
b488cda3e9
2 changed files with 11 additions and 2 deletions
|
@ -20,13 +20,14 @@ Voraussetzung ist weiterhin eine Inventory-Gruppe namens `storage_boxes`, die al
|
|||
| ------------- | -------- | ------------- | ---- |
|
||||
| `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_conf_file_path` | Pfad zur `local.php` des Wikis _(required)_, Bspw: `/etc/dokuwiki/farm/mywiki/local.php` | -- | `group_vars/al/cmdb` |
|
||||
| `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`|
|
||||
| `cmdb_customer` | Name der Kundin/ Besitzerin des Hosts | -- | -- |
|
||||
| `cmdb_customer_service_agreement` | Link zum Servicevertrag im Wiki | -- | --|
|
||||
| `cmdb_customer` | Name der Kundin/ Besitzerin des Hosts | -- | `host_vars/..` |
|
||||
| `cmdb_customer_service_agreement` | Link zum Servicevertrag im Wiki | -- | `host_vars/..` |
|
||||
|
||||
## Beispiel-Playboook
|
||||
|
||||
|
|
|
@ -28,3 +28,11 @@
|
|||
ansible.builtin.import_tasks: server.yml
|
||||
delegate_to: "{{ cmdb.wiki_server }}"
|
||||
tags: server
|
||||
|
||||
- name: Purging Dokuwiki cache
|
||||
ansible.builtin.file:
|
||||
path: "{{ cmdb.wiki_conf_file_path }}"
|
||||
state: touch
|
||||
run_once: true
|
||||
delegate_to: "{{ cmdb.wiki_server }}"
|
||||
tags: purge_cache
|
||||
|
|
Loading…
Reference in a new issue