Give database access to its directory
This commit is contained in:
parent
5971bffc51
commit
156ad3ad91
1 changed files with 10 additions and 5 deletions
|
@ -27,16 +27,21 @@
|
|||
- "{{ docker_volumes_dir }}/authentik/custom-templates"
|
||||
- "{{ docker_volumes_dir }}/authentik/certs"
|
||||
|
||||
- name: "Create Redis and Database directores for Authentik with Docker"
|
||||
- name: "Create Redis directory for Authentik with Docker"
|
||||
ansible.builtin.file:
|
||||
path: "{{ item }}"
|
||||
path: "{{ docker_volumes_dir }}/authentik/redis"
|
||||
state: directory
|
||||
owner: 999
|
||||
group: root
|
||||
mode: '0750'
|
||||
with_items:
|
||||
- "{{ docker_volumes_dir }}/authentik/redis"
|
||||
- "{{ docker_volumes_dir }}/authentik/database"
|
||||
|
||||
- name: "Create Database directory for Authentik with Docker"
|
||||
ansible.builtin.file:
|
||||
path: "{{ docker_volumes_dir }}/authentik/database"
|
||||
state: directory
|
||||
owner: root
|
||||
group: root
|
||||
mode: '0750'
|
||||
|
||||
- name: "Template .env files for Authentik with Docker"
|
||||
ansible.builtin.template:
|
||||
|
|
Loading…
Reference in a new issue