From 4ed54a648f10cbdccd4b0a37d4984182cc0a37d0 Mon Sep 17 00:00:00 2001 From: Guido Grazioli Date: Wed, 15 Dec 2021 13:55:41 +0100 Subject: [PATCH] fix incorrect rhn download url --- roles/keycloak/defaults/main.yml | 1 + roles/keycloak/tasks/download_from_rhn.yml | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/keycloak/defaults/main.yml b/roles/keycloak/defaults/main.yml index 3f7d4b0..372bf1f 100644 --- a/roles/keycloak/defaults/main.yml +++ b/roles/keycloak/defaults/main.yml @@ -13,6 +13,7 @@ keycloak_rhsso_saml_adapter_rhn_id: '101901' keycloak_rhsso_version: 7.5 keycloak_rhsso_archive: rh-sso-{{ keycloak_rhsso_version }}-server-dist.zip keycloak_rhsso_installdir: "{{ keycloak_dest }}/rh-sso-{{ keycloak_rhsso_version }}" +keycloak_rhsso_base_url: 'https://access.redhat.com/jbossnetwork/restricted/softwareDownload.html?softwareId=' ### Install location and service settings keycloak_dest: /opt/keycloak diff --git a/roles/keycloak/tasks/download_from_rhn.yml b/roles/keycloak/tasks/download_from_rhn.yml index 04dcc84..6ac9029 100644 --- a/roles/keycloak/tasks/download_from_rhn.yml +++ b/roles/keycloak/tasks/download_from_rhn.yml @@ -8,8 +8,7 @@ quiet: true - set_fact: - rhn_base_url: "{{ override_rhn_base_url | default('https://access.redhat.com/jbossnetwork/restricted/softwareDownload.html?softwareId=') }}" - rhn_download_url: "{{ rhn_base_url }}{{ rhn_id_file }}" + rhn_download_url: "{{ keycloak_rhsso_base_url }}{{ rhn_id_file }}" - name: "Check zipfile dest directory {{ zipfile_dest }}" stat: