changed variable structure

This commit is contained in:
2023-06-03 02:41:34 +02:00
parent 814eeca218
commit 6c88689a5b
16 changed files with 140 additions and 159 deletions

View File

@@ -2,7 +2,7 @@
- name: Create Wiki_JS directories they do not exist
become: true
ansible.builtin.file:
path: /home/{{ user['name'] }}/docker/wiki_js/{{ item }}
path: /home/{{ system_user_name }}/docker/wiki_js/{{ item }}
state: directory
mode: '0755'
loop: '{{ wiki_js_folder }}'
@@ -26,7 +26,7 @@
POSTGRES_USER: "{{ WIKI_JS_POSTGRES_USER | string }}"
POSTGRES_PASSWORD: "{{ WIKI_JS_POSTGRES_PASS | string }}"
volumes:
- /home/{{ user['name'] }}/docker/wiki_js/db:/var/lib/postgresql/data
- /home/{{ system_user_name }}/docker/wiki_js/db:/var/lib/postgresql/data
networks:
- name: wiki_js_internal