IBM / cloud-pak-deployer

Configuration-based installation of OpenShift and Cloud Pak for Data/Integration/Watson AIOps on various private and public cloud infrastructure providers. Deployment attempts to achieve the end-state defined in the configuration. If something fails along the way, you only need to restart the process to continue the deployment.
https://ibm.github.io/cloud-pak-deployer/
Apache License 2.0
132 stars 67 forks source link

Source registry is optional variables #525

Closed fketelaars closed 11 months ago

fketelaars commented 11 months ago

Describe the bug When downloading images to the portable registry the following error is thrown:

An exception occurred during task execution. To see the full traceback, use -vvv. The error was: ansible.errors.AnsibleUndefinedVariable: '_p_source_registry_hostname' is undefined
fatal: [localhost]: FAILED! => {"changed": false, "msg": "AnsibleUndefinedVariable: '_p_source_registry_hostname' is undefined"}

Fix: make _p_source_registry_hostname optional in jinja2 template