Merge pull request #338 from world-direct/fix/336_downloads

fix #336: https://github.com/ansible-middleware/common/pull/38
This commit is contained in:
Harsha Cherukuri
2026-05-27 14:44:14 -04:00
committed by GitHub
2 changed files with 4 additions and 4 deletions

View File

@@ -563,6 +563,6 @@ argument_specs:
description: "Red Hat Build of Keycloak patch archive filename" description: "Red Hat Build of Keycloak patch archive filename"
type: "str" type: "str"
rhbk_product_category: rhbk_product_category:
default: "rhbk" default: "RHBK"
description: "JBossNetwork API category for Red Hat Build of Keycloak" description: "JBossNetwork API category for Red Hat Build of Keycloak"
type: "str" type: "str"

View File

@@ -91,7 +91,7 @@
- not keycloak.offline_install - not keycloak.offline_install
- not rhbk_enable is defined or not rhbk_enable - 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 delegate_to: localhost
run_once: true run_once: true
when: when:
@@ -102,7 +102,7 @@
- not keycloak.offline_install - not keycloak.offline_install
- keycloak_quarkus_alternate_download_url is undefined - keycloak_quarkus_alternate_download_url is undefined
block: block:
- name: Retrieve product download using JBoss Network API - name: Retrieve product download using Unified Downloads API
middleware_automation.common.product_search: middleware_automation.common.product_search:
client_id: "{{ rhn_username }}" client_id: "{{ rhn_username }}"
client_secret: "{{ rhn_password }}" client_secret: "{{ rhn_password }}"
@@ -116,7 +116,7 @@
- name: Determine install zipfile from search results - name: Determine install zipfile from search results
ansible.builtin.set_fact: 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 delegate_to: localhost
run_once: true run_once: true