chore(keycloak): allow enabling features and forcing recreation
This commit is contained in:
parent
24cdd00977
commit
c2294740a8
1 changed files with 2 additions and 1 deletions
|
@ -50,13 +50,14 @@
|
||||||
labels: "{{ keycloak_container_labels | default(omit, true) }}"
|
labels: "{{ keycloak_container_labels | default(omit, true) }}"
|
||||||
volumes: "{{ keycloak_container_volumes | default(omit, true) }}"
|
volumes: "{{ keycloak_container_volumes | default(omit, true) }}"
|
||||||
restart_policy: "{{ keycloak_container_restart_policy }}"
|
restart_policy: "{{ keycloak_container_restart_policy }}"
|
||||||
recreate: "{{ keycloak_container_image_status.changed if keycloak_container_image_status else false }}"
|
recreate: "{{ keycloak_container_force_recreate | default(false) or (keycloak_container_image_status.changed if keycloak_container_image_status else false) }}"
|
||||||
state: started
|
state: started
|
||||||
command: >-2
|
command: >-2
|
||||||
start
|
start
|
||||||
--db-username {{ keycloak_database_username }}
|
--db-username {{ keycloak_database_username }}
|
||||||
--db-password {{ keycloak_database_password }}
|
--db-password {{ keycloak_database_password }}
|
||||||
--db-url jdbc:postgresql://{{ keycloak_database_hostname }}:{{ keycloak_database_port }}/{{ keycloak_database_database }}
|
--db-url jdbc:postgresql://{{ keycloak_database_hostname }}:{{ keycloak_database_port }}/{{ keycloak_database_database }}
|
||||||
|
{{ keycloak_container_extra_start_flags | default([]) | join(' ') }}
|
||||||
--optimized
|
--optimized
|
||||||
tags:
|
tags:
|
||||||
- keycloak-container
|
- keycloak-container
|
||||||
|
|
Reference in a new issue