https://github.com/openshift/openshift-ansible/pull/5706 merged already but not in the last build
Verified this bug with openshift-ansible-3.6.173.0.49-1.git.0.7e8ae51.el7.noarch, and PASS. But the attached rpm to advisory is openshift-ansible-3.6.173.0.48-1.git.0.1609d30.el7, so move this bug to MODIFIED, once the attached rpm is updated, pls move this bug to ON_QA.
This is a good catch. It appears that one must use 'self._templar.template(oreg_auth_password)' on task_vars in action plugins. This will ensure the variables are properly templated. Unfortunately, these checks are not subclasses of ActionBase, so a fix might take a day or two to implement cleanly. We should also patch other modules throughout our code to account for this. I have seen this issue appear on other custom modules/plugins as well.
This ended up being easier to implement than I first believed. PR Created: https://github.com/openshift/openshift-ansible/pull/5781
additional fixes merged
Verified this bug with openshift-ansible-3.6.173.0.75-1.git.0.0a44128.el7.noarch, and PASS. oreg_auth_user={{ lookup('env','REG_AUTH_USER') }} oreg_auth_password={{ lookup('env','REG_AUTH_PASSWORD') }}
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2017:3255