diff --git a/roles/keycloak_quarkus/meta/argument_specs.yml b/roles/keycloak_quarkus/meta/argument_specs.yml index 5e32e84..d3d998c 100644 --- a/roles/keycloak_quarkus/meta/argument_specs.yml +++ b/roles/keycloak_quarkus/meta/argument_specs.yml @@ -563,6 +563,6 @@ argument_specs: description: "Red Hat Build of Keycloak patch archive filename" type: "str" rhbk_product_category: - default: "rhbk" + default: "RHBK" description: "JBossNetwork API category for Red Hat Build of Keycloak" type: "str" diff --git a/roles/keycloak_quarkus/tasks/install.yml b/roles/keycloak_quarkus/tasks/install.yml index 28409eb..4110bed 100644 --- a/roles/keycloak_quarkus/tasks/install.yml +++ b/roles/keycloak_quarkus/tasks/install.yml @@ -91,7 +91,7 @@ - not keycloak.offline_install - not rhbk_enable is defined or not rhbk_enable -- name: Perform download from RHN using JBoss Network API +- name: Perform download from RHN using the Unified Downloads API delegate_to: localhost run_once: true when: @@ -102,7 +102,7 @@ - not keycloak.offline_install - keycloak_quarkus_alternate_download_url is undefined block: - - name: Retrieve product download using JBoss Network API + - name: Retrieve product download using Unified Downloads API middleware_automation.common.product_search: client_id: "{{ rhn_username }}" client_secret: "{{ rhn_password }}" @@ -116,7 +116,7 @@ - name: Determine install zipfile from search results ansible.builtin.set_fact: - rhn_filtered_products: "{{ rhn_products.results | selectattr('file_path', 'match', '[^/]*/' + rhbk_archive + '$') }}" + rhn_filtered_products: "{{ rhn_products.results | selectattr('file_name', 'match', '[^/]*/' + rhbk_archive + '$') }}" delegate_to: localhost run_once: true