Ensure the data/tmp directory ownership.
This commit is contained in:
parent
4c8ef3eca1
commit
fc9c6d423a
|
@ -1,5 +1,6 @@
|
|||
---
|
||||
- name: Install the keycloak distribution
|
||||
tags: keycloak
|
||||
block:
|
||||
- name: Create the keycloak user
|
||||
ansible.builtin.user:
|
||||
|
@ -34,6 +35,15 @@
|
|||
mode: 0750
|
||||
tags: [ keycloak, keycloak_data_dir ]
|
||||
|
||||
- name: Set the permissions of the {{ keycloak_data_directory }}/tmp directory
|
||||
ansible.builtin.file:
|
||||
dest: '{{ keycloak_data_directory }}/tmp'
|
||||
state: directory
|
||||
owner: '{{ keycloak_user }}'
|
||||
group: '{{ keycloak_user }}'
|
||||
mode: 0750
|
||||
tags: [ keycloak, keycloak_data_dir ]
|
||||
|
||||
- name: Set the permissions of the {{ keycloak_runtime_home }}/lib/quarkus directory
|
||||
ansible.builtin.file:
|
||||
dest: '{{ keycloak_runtime_home }}/lib/quarkus'
|
||||
|
@ -52,4 +62,3 @@
|
|||
mode: 0750
|
||||
when: not keycloak_external_avatar_dir_enabled
|
||||
|
||||
tags: keycloak
|
||||
|
|
Loading…
Reference in New Issue