summaryrefslogtreecommitdiffstats
path: root/roles/openshift_version/tasks/masters_and_nodes.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/openshift_version/tasks/masters_and_nodes.yml')
-rw-r--r--roles/openshift_version/tasks/masters_and_nodes.yml5
1 files changed, 1 insertions, 4 deletions
diff --git a/roles/openshift_version/tasks/masters_and_nodes.yml b/roles/openshift_version/tasks/masters_and_nodes.yml
index eddd5ff42..c4dbc2a5f 100644
--- a/roles/openshift_version/tasks/masters_and_nodes.yml
+++ b/roles/openshift_version/tasks/masters_and_nodes.yml
@@ -8,10 +8,7 @@
fail:
msg: "OCP rpm version {{ rpm_results.results.versions.available_versions.0 }} 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