Setting rhbk_download_url to artifactory is not working.
Closed this issue · 1 comments
RHatDev commented
SUMMARY
Hello, I am trying to deploy rhbk on a VM using rhbk collections. The playbook worked when I downloaded the zip file on the controller node and ran the playbook with rhbk_offline_install: true but now I am trying to download the file from an artifactory by providing rhbk_download_url and it is failing with the following message:
TASK [redhat.rhbk.rhbk : Download rhbk archive] **********************************************************************************************************
skipping: [x.x.x.x]
TASK [redhat.rhbk.rhbk : Retrieve product download using JBoss Network API] ******************************************************************************
fatal: [x.x.x.x -> localhost]: FAILED! => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result"}
ISSUE TYPE
- Bug Report
ANSIBLE VERSION
ansible [core 2.15.10]
config file = /home/user1/rhbk_deployment/rhbk/ansible.cfg
configured module search path = ['/home/user1/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
ansible python module location = /usr/lib/python3.9/site-packages/ansible
ansible collection location = /home/user1/rhbk_deployment/rhbk/collections:/home/user1/.ansible/collections:/usr/share/ansible/collections
executable location = /usr/bin/ansible
python version = 3.9.18 (main, Jan 4 2024, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] (/usr/bin/python3)
jinja version = 3.0.3
libyaml = True
COLLECTION VERSION
redhat.rhbk 2.2.2
STEPS TO REPRODUCE
---
- name: Playbook for Keycloak Hosts
hosts: all
vars:
rhbk_download_url: <local_artifactory>
rhbk_admin_password: "remembertochangeme"
roles:
- redhat.rhbk.rhbk
EXPECTED RESULTS
Should be able to download the product from the rhbk_download_url but it is skipping that task
ACTUAL RESULTS
TASK [redhat.rhbk.rhbk : Download rhbk archive] **********************************************************************************************************
skipping: [x.x.x.x]
TASK [redhat.rhbk.rhbk : Retrieve product download using JBoss Network API] ******************************************************************************
fatal: [x.x.x.x -> localhost]: FAILED! => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result"}
guidograzioli commented
Hello, thanks for reporting; the possibility to download from an alternate URL (like it was in redhat.sso) is not implemented in rhbk yet.