fix the data permissions recursively

This commit is contained in:
Andrea Dell'Amico 2022-11-29 18:46:11 +01:00
parent fc9c6d423a
commit 761dd366a6
Signed by untrusted user: adellam
GPG Key ID: 147ABE6CEB9E20FF
1 changed files with 2 additions and 8 deletions

View File

@ -33,16 +33,9 @@
owner: '{{ keycloak_user }}'
group: '{{ keycloak_user }}'
mode: 0750
recurse: true
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:
@ -51,6 +44,7 @@
owner: '{{ keycloak_user }}'
group: '{{ keycloak_user }}'
mode: 0750
recurse: true
tags: [ keycloak, keycloak_data_dir ]
- name: Avatar directory