summaryrefslogtreecommitdiffstats
path: root/roles/openshift_repos/templates
diff options
context:
space:
mode:
authorTomas Sedovic <tomas@sedovic.cz>2017-11-29 11:33:10 +0100
committerTomas Sedovic <tomas@sedovic.cz>2017-11-29 12:50:35 +0100
commit691179281336dcd56d17b70cdf4067a142238b83 (patch)
tree30d378489d7cb2b93f724debf1d16cf97102011a /roles/openshift_repos/templates
parente05e4d3d4fab4eaf462a23f5d5ee39fb57f4f0a0 (diff)
downloadopenshift-691179281336dcd56d17b70cdf4067a142238b83.tar.gz
openshift-691179281336dcd56d17b70cdf4067a142238b83.tar.bz2
openshift-691179281336dcd56d17b70cdf4067a142238b83.tar.xz
openshift-691179281336dcd56d17b70cdf4067a142238b83.zip
Fix the env lookup fallback in rhel_subscribe
The role is looking for the usernames, passwords, etc. first in the shell environment and then in the Ansible vars. When the environment is empty, however, the lookup returns an empty string not an undefined variable, so the `default` fallback is never used and the ansible variables end up being ignored. By adding `True` to the end of the filter, it will work with any falsey value (including an empty string) not just undefined variables.
Diffstat (limited to 'roles/openshift_repos/templates')
0 files changed, 0 insertions, 0 deletions