|
@@ -16,14 +16,17 @@
|
|
|
register: update_result
|
|
|
changed_when: "'Extracting' in update_result.stdout"
|
|
|
when:
|
|
|
- - (openshift.common.version is defined) and (openshift.common.version == openshift_version) and ("node" in result.stdout) | bool
|
|
|
+ - openshift.common.version is defined
|
|
|
+ - openshift.common.version == openshift_version
|
|
|
+ - ("node" in result.stdout) | bool
|
|
|
|
|
|
- name: Uninstall Node system container package
|
|
|
command: >
|
|
|
atomic uninstall {{ openshift.common.service_type }}-node
|
|
|
failed_when: False
|
|
|
when:
|
|
|
- - (openshift.common.version is not defined) or (openshift.common.version != openshift_version) and ("node" in result.stdout) | bool
|
|
|
+ - (openshift.common.version is not defined) or (openshift.common.version != openshift_version)
|
|
|
+ - ("node" in result.stdout) | bool
|
|
|
|
|
|
- name: Install Node system container package
|
|
|
command: >
|