keycloak must be able to write inside the configuration directory.
This commit is contained in:
parent
a23df05659
commit
76c979151e
|
@ -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
|
||||
|
|
|
@ -12,3 +12,4 @@ keycloak_runtime_home: '{{ keycloak_install_dir }}/{{ keycloak_distribution }}'
|
|||
keycloak_owned_directories:
|
||||
- data
|
||||
- tmp
|
||||
- configuration
|
||||
|
|
Loading…
Reference in New Issue