From 99c14a79dac44cf4ff5ee248954e03ffc1b91edf Mon Sep 17 00:00:00 2001 From: Guido Grazioli Date: Fri, 28 Jan 2022 14:46:12 +0100 Subject: [PATCH] fix: prefix match for alternate url download --- roles/keycloak/tasks/install.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/keycloak/tasks/install.yml b/roles/keycloak/tasks/install.yml index 9aa106a..4194db7 100644 --- a/roles/keycloak/tasks/install.yml +++ b/roles/keycloak/tasks/install.yml @@ -95,7 +95,7 @@ - not archive_path.stat.exists - keycloak_rhsso_enable - not keycloak_offline_install - - keycloak_rhsso_download_url is match(keycloak_rhn_url+".*") + - keycloak_rhn_url in keycloak_rhsso_download_url - name: Download rhsso archive from alternate location get_url: @@ -108,7 +108,7 @@ - not archive_path.stat.exists - keycloak_rhsso_enable - not keycloak_offline_install - - not keycloak_rhsso_download_url is match(keycloak_rhn_url+".*") + - not keycloak_rhn_url in keycloak_rhsso_download_url ## copy and unpack - name: Copy archive to target nodes