diff options
author | Michael Gugino <mgugino@redhat.com> | 2018-02-12 16:40:19 -0500 |
---|---|---|
committer | Michael Gugino <mgugino@redhat.com> | 2018-02-12 16:40:19 -0500 |
commit | 864d3bd62d28ea2ac10eaef4b767ce3fc7189bba (patch) | |
tree | bd4b25152bff14d26339618475de113b3711bd26 /roles/openshift_version/tasks/masters_and_nodes.yml | |
parent | 1c9c93d616da65d6121fd34fe0258b45ba909cb8 (diff) | |
download | openshift-864d3bd62d28ea2ac10eaef4b767ce3fc7189bba.tar.gz openshift-864d3bd62d28ea2ac10eaef4b767ce3fc7189bba.tar.bz2 openshift-864d3bd62d28ea2ac10eaef4b767ce3fc7189bba.tar.xz openshift-864d3bd62d28ea2ac10eaef4b767ce3fc7189bba.zip |
Revert openshift_version to previous state
Diffstat (limited to 'roles/openshift_version/tasks/masters_and_nodes.yml')
-rw-r--r-- | roles/openshift_version/tasks/masters_and_nodes.yml | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/roles/openshift_version/tasks/masters_and_nodes.yml b/roles/openshift_version/tasks/masters_and_nodes.yml index eddd5ff42..fbeb22d8b 100644 --- a/roles/openshift_version/tasks/masters_and_nodes.yml +++ b/roles/openshift_version/tasks/masters_and_nodes.yml @@ -6,12 +6,9 @@ include_tasks: check_available_rpms.yml - name: Fail if rpm version and docker image version are different fail: - msg: "OCP rpm version {{ rpm_results.results.versions.available_versions.0 }} is different from OCP image version {{ openshift_version }}" + msg: "OCP rpm version {{ openshift_rpm_version }} is different from OCP image version {{ openshift_version }}" # Both versions have the same string representation - when: - - openshift_version not in rpm_results.results.versions.available_versions.0 - - openshift_version_reinit | default(false) - + when: rpm_results.results.versions.available_versions.0 != openshift_version # block when when: not openshift_is_atomic | bool |