From 94aecfcd87f2ffc0f3c3f75aafda54a05d494d73 Mon Sep 17 00:00:00 2001 From: Guido Grazioli Date: Fri, 14 Jan 2022 10:09:10 +0100 Subject: [PATCH] Rename/merge templates and update install task --- roles/keycloak/tasks/install.yml | 4 ++-- ...andalone-rhsso-jdg.xml.j2 => standalone-infinispan.xml.j2} | 0 .../templates/{standalone-rhsso.xml.j2 => standalone.xml.j2} | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename roles/keycloak/templates/{standalone-rhsso-jdg.xml.j2 => standalone-infinispan.xml.j2} (100%) rename roles/keycloak/templates/{standalone-rhsso.xml.j2 => standalone.xml.j2} (100%) diff --git a/roles/keycloak/tasks/install.yml b/roles/keycloak/tasks/install.yml index 88a0ab4..3044347 100644 --- a/roles/keycloak/tasks/install.yml +++ b/roles/keycloak/tasks/install.yml @@ -129,7 +129,7 @@ - name: "Deploy Keycloak's standalone.xml" become: yes 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 }}" owner: "{{ keycloak_service_user }}" group: "{{ keycloak_service_group }}" @@ -141,7 +141,7 @@ - name: "Deploy Keycloak's standalone.xml with remote cache store" become: yes 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 }}" owner: "{{ keycloak_service_user }}" group: "{{ keycloak_service_group }}" diff --git a/roles/keycloak/templates/standalone-rhsso-jdg.xml.j2 b/roles/keycloak/templates/standalone-infinispan.xml.j2 similarity index 100% rename from roles/keycloak/templates/standalone-rhsso-jdg.xml.j2 rename to roles/keycloak/templates/standalone-infinispan.xml.j2 diff --git a/roles/keycloak/templates/standalone-rhsso.xml.j2 b/roles/keycloak/templates/standalone.xml.j2 similarity index 100% rename from roles/keycloak/templates/standalone-rhsso.xml.j2 rename to roles/keycloak/templates/standalone.xml.j2