IBM / Ansible-OpenShift-Provisioning

Automate the deployment of Red Hat OpenShift Container Platform on IBM zSystems (s390x). Automated User-Provisoned Infrastructure (UPI) setup using Kernel-based Virtual Machine (KVM).
https://ibm.github.io/Ansible-OpenShift-Provisioning/
MIT License
20 stars 44 forks source link

Error to place proxy info inti install_config.yaml #306

Closed irmsan closed 2 months ago

irmsan commented 3 months ago

using PROXY still in error the condition is: use_proxy: "{{ 'True' if (proxy_env.http_proxy is defined or proxy_env.https_proxy is defined or proxy_env.no_proxy is defined) else 'False' }}"

proxy_env.http_proxy variable not exists , it should be env.proxy.http I guess and same for https

Additionally In the template: my advise, put the localhost into back to the all.yaml env.proxy.no and in same place (in the template) inserting the INFRA nodes to the noProxy should be CONDITIONAL

AmadeusPodvratnik commented 2 months ago

@irmsan There will be this PR https://github.com/IBM/Ansible-OpenShift-Provisioning/pull/327 which use a flag and flatten several vars and make defaults for a bunch of parms.