From ceb6b3fe36fd5ff3539da010b6154c08da964b03 Mon Sep 17 00:00:00 2001 From: phil Date: Wed, 1 Nov 2023 17:51:39 +0100 Subject: [PATCH] Enable per host documentation --- README.md | 1 + templates/section_header.txt.j2 | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 20ef0fb..7ca43eb 100644 --- a/README.md +++ b/README.md @@ -26,6 +26,7 @@ Voraussetzung ist weiterhin eine Inventory-Gruppe namens `storage_boxes`, die al | `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_documentation_path` | Wiki-Pfad zur Dokumentation den Hosts _(required)_ | --| `group_vars/all/cmdb` oder `host_vars/..` | | `cmdb_customer` | Name der Kundin/ Besitzerin des Hosts | -- | `host_vars/..` | | `cmdb_customer_service_agreement` | Link zum Servicevertrag im Wiki | -- | `host_vars/..` | diff --git a/templates/section_header.txt.j2 b/templates/section_header.txt.j2 index 9625af4..28af42e 100644 --- a/templates/section_header.txt.j2 +++ b/templates/section_header.txt.j2 @@ -1,2 +1,2 @@ * CMDB-Eintrag aktualisiert am: {{ ansible_date_time.date }} {{ ansible_date_time.time }} - * [[{{ cmdb.wiki_server_documentation_path }}:{{ inventory_hostname }}|Dokumentation]] + * [[{{ cmdb_documentation_path }}|Dokumentation]]