Description of problem:
During OpenShift Install (/usr/share/ansible/openshift-ansible/playbooks/openstack/openshift-cluster/install.yml), the playbook fails at task "Enable RHEL repositories" with error "'openshift_version' is undefined". 'openshift_version' variable is supposed to be derived automatically during the playbook run.
Please note that this bug is similar to bz-1642923 , but in this case it is in install.yml.
Tried to workaround the issue by adding "- import_playbook: ../../init/version.yml" to install.yml , but didn't work.
On the otherhand if I use the provision_install.yml it gets past the registration.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
I believe this should be fixed in a more recent version of 3.11: https://github.com/openshift/openshift-ansible/pull/10504
Fixed by https://github.com/openshift/openshift-ansible/pull/10742
*** Bug 1642923 has been marked as a duplicate of this bug. ***
In openshift-ansible-3.11.55-1 and later
# rpm -qa|grep -i ansible
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.