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: