Rename/merge templates and update install task

main
Guido Grazioli 2022-01-14 10:09:10 +01:00
parent 7a989f7771
commit 94aecfcd87
3 changed files with 2 additions and 2 deletions

View File

@ -129,7 +129,7 @@
- name: "Deploy Keycloak's standalone.xml" - name: "Deploy Keycloak's standalone.xml"
become: yes become: yes
template: template:
src: "{{ 'templates/standalone-rhsso.xml.j2' if keycloak_rhsso_enable else 'templates/standalone.xml.j2' }}" src: templates/standalone.xml.j2
dest: "{{ keycloak_config_path_to_standalone_xml }}" dest: "{{ keycloak_config_path_to_standalone_xml }}"
owner: "{{ keycloak_service_user }}" owner: "{{ keycloak_service_user }}"
group: "{{ keycloak_service_group }}" group: "{{ keycloak_service_group }}"
@ -141,7 +141,7 @@
- name: "Deploy Keycloak's standalone.xml with remote cache store" - name: "Deploy Keycloak's standalone.xml with remote cache store"
become: yes become: yes
template: template:
src: "{{ 'templates/standalone-rhsso-jdg.xml.j2' if keycloak_rhsso_enable else 'templates/standalone-infinispan.xml.j2' }}" src: templates/standalone-infinispan.xml.j2
dest: "{{ keycloak_config_path_to_standalone_xml }}" dest: "{{ keycloak_config_path_to_standalone_xml }}"
owner: "{{ keycloak_service_user }}" owner: "{{ keycloak_service_user }}"
group: "{{ keycloak_service_group }}" group: "{{ keycloak_service_group }}"