|
@@ -18,7 +18,7 @@
|
|
when:
|
|
when:
|
|
- openshift_pkg_version is defined
|
|
- openshift_pkg_version is defined
|
|
- openshift_pkg_version != ""
|
|
- openshift_pkg_version != ""
|
|
- - openshift_pkg_version.split('-',1).1 is version_compare(openshift_upgrade_target ,'<')
|
|
|
|
|
|
+ - openshift_pkg_version.split('-',1).1 is version(openshift_upgrade_target ,'<')
|
|
|
|
|
|
- fail:
|
|
- fail:
|
|
msg: >
|
|
msg: >
|
|
@@ -27,7 +27,7 @@
|
|
when:
|
|
when:
|
|
- openshift_image_tag is defined
|
|
- openshift_image_tag is defined
|
|
- openshift_image_tag != ""
|
|
- openshift_image_tag != ""
|
|
- - openshift_image_tag.split('v',1).1 is version_compare(openshift_upgrade_target ,'<')
|
|
|
|
|
|
+ - openshift_image_tag.split('v',1).1 is version(openshift_upgrade_target ,'<')
|
|
|
|
|
|
- set_fact:
|
|
- set_fact:
|
|
openshift_release: "{{ openshift_release[1:] }}"
|
|
openshift_release: "{{ openshift_release[1:] }}"
|
|
@@ -39,7 +39,7 @@
|
|
valid release for a {{ openshift_upgrade_target }} upgrade
|
|
valid release for a {{ openshift_upgrade_target }} upgrade
|
|
when:
|
|
when:
|
|
- openshift_release is defined
|
|
- openshift_release is defined
|
|
- - not (openshift_release is version_compare(openshift_upgrade_target ,'='))
|
|
|
|
|
|
+ - not (openshift_release is version(openshift_upgrade_target ,'='))
|
|
|
|
|
|
- name: Verify master processes
|
|
- name: Verify master processes
|
|
hosts: oo_masters_to_config
|
|
hosts: oo_masters_to_config
|