Replace wiki_owner with wiki_user

This commit is contained in:
phil 2023-08-13 22:05:45 +02:00
parent 6ee0e4cb78
commit a98173014a
3 changed files with 5 additions and 5 deletions

View file

@ -24,5 +24,5 @@ ansible-playbook playbooks/cmdb.yml --skip-tags install
| `cmdb.wiki_pages_path` | path for wiki pages on 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_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_meta_path` | path for metadata on dokuwiki server _(required)_ | -- | `group_vars/all/cmdb.yml` |
| `cmdb.wiki_owner` | File system owner of wiki files and directories _(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.wiki_group` | File system group of wiki files and directories _(required)_ | -- | `group_vars/all/cmdb.yml`|

View file

@ -34,7 +34,7 @@
ansible.builtin.template: ansible.builtin.template:
src: hypervisor.txt.j2 src: hypervisor.txt.j2
dest: "{{ cmdb.wiki_pages_path }}/servers/hypervisor.txt" dest: "{{ cmdb.wiki_pages_path }}/servers/hypervisor.txt"
owner: "{{ cmdb.wiki_owner }}" owner: "{{ cmdb.wiki_user }}"
group: "{{ cmdb.wiki_group }}" group: "{{ cmdb.wiki_group }}"
mode: "0644" mode: "0644"
delegate_to: "{{ cmdb.wiki_server }}" delegate_to: "{{ cmdb.wiki_server }}"

View file

@ -3,7 +3,7 @@
ansible.builtin.template: ansible.builtin.template:
src: servers.txt.j2 src: servers.txt.j2
dest: "{{ cmdb.wiki_pages_path }}/servers.txt" dest: "{{ cmdb.wiki_pages_path }}/servers.txt"
owner: "{{ cmdb.wiki_owner }}" owner: "{{ cmdb.wiki_user }}"
group: "{{ cmdb.wiki_group }}" group: "{{ cmdb.wiki_group }}"
mode: "0644" mode: "0644"
@ -11,7 +11,7 @@
ansible.builtin.template: ansible.builtin.template:
src: all.txt.j2 src: all.txt.j2
dest: "{{ cmdb.wiki_pages_path }}/servers/all.txt" dest: "{{ cmdb.wiki_pages_path }}/servers/all.txt"
owner: "{{ cmdb.wiki_owner }}" owner: "{{ cmdb.wiki_user }}"
group: "{{ cmdb.wiki_group }}" group: "{{ cmdb.wiki_group }}"
mode: "0644" mode: "0644"
@ -19,7 +19,7 @@
ansible.builtin.template: ansible.builtin.template:
src: item.txt.j2 src: item.txt.j2
dest: "{{ cmdb.wiki_pages_path }}/servers/all/{{ inventory_hostname }}.txt" dest: "{{ cmdb.wiki_pages_path }}/servers/all/{{ inventory_hostname }}.txt"
owner: "{{ cmdb.wiki_owner }}" owner: "{{ cmdb.wiki_user }}"
group: "{{ cmdb.wiki_group }}" group: "{{ cmdb.wiki_group }}"
mode: "0644" mode: "0644"
tags: server_item tags: server_item