keycloak must be able to write inside the configuration directory.

This commit is contained in:
Andrea Dell'Amico 2020-06-19 19:42:03 +02:00
parent a23df05659
commit 76c979151e
2 changed files with 2 additions and 1 deletions

View File

@ -16,7 +16,7 @@
file: dest={{ keycloak_log_directory }} state=directory owner={{ keycloak_user }} group={{ keycloak_user }} mode='0755'
- name: Fix the permissions of some keycloak directories
file: dest={{ keycloak_install_dir }}/{{ keycloak_distribution }}/{{ keycloak_wildfly_mode }}/{{ item }} state=directory owner={{ keycloak_user }} group={{ keycloak_user }} mode='0755' recurse=yes
file: dest={{ keycloak_install_dir }}/{{ keycloak_distribution }}/{{ keycloak_wildfly_mode }}/{{ item }} state=directory owner={{ keycloak_user }} group={{ keycloak_user }} mode='0750' recurse=yes
with_items: '{{ keycloak_owned_directories }}'
- name: Remove the log directory inside the keycloak distribution

View File

@ -12,3 +12,4 @@ keycloak_runtime_home: '{{ keycloak_install_dir }}/{{ keycloak_distribution }}'
keycloak_owned_directories:
- data
- tmp
- configuration