Browse Source

Change is_atomic to is_containerized

  * Update playbooks/common/openshift-cluster/upgrades/v3_1_minor/upgrade.yml
  * Change is_atomic by is_containerized in order to take care about container openshift without atomic
talset 9 years ago
parent
commit
2b4aad9db8

+ 3 - 3
playbooks/common/openshift-cluster/upgrades/v3_1_minor/upgrade.yml

@@ -13,11 +13,11 @@
   tasks:
   - name: Upgrade master packages
     command: "{{ ansible_pkg_mgr}} update -y {{ openshift.common.service_type }}-master{{ openshift_version }}"
-    when: not openshift.common.is_atomic | bool
+    when: not openshift.common.is_containerized | bool
 
   - name: Ensure python-yaml present for config upgrade
     action: "{{ ansible_pkg_mgr }} name=PyYAML state=present"
-    when: not openshift.common.is_atomic | bool
+    when: not openshift.common.is_containerized | bool
 
 # Currently 3.1.1 does not have any new configuration settings
 #
@@ -64,7 +64,7 @@
   tasks:
   - name: Upgrade node packages
     command: "{{ ansible_pkg_mgr }} update -y {{ openshift.common.service_type }}-node{{ openshift_version }}"
-    when: not openshift.common.is_atomic | bool
+    when: not openshift.common.is_containerized | bool
 
   - name: Restart node service
     service: name="{{ openshift.common.service_type }}-node" state=restarted