소스 검색

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 년 전
부모
커밋
2b4aad9db8
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 3
      playbooks/common/openshift-cluster/upgrades/v3_1_minor/upgrade.yml

+ 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