소스 검색

Check for is_atomic when uninstalling flannel package.

Andrew Butcher 8 년 전
부모
커밋
5fd53eac18
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      playbooks/adhoc/uninstall.yml

+ 1 - 1
playbooks/adhoc/uninstall.yml

@@ -74,7 +74,7 @@
 
   - name: Remove flannel package
     action: "{{ ansible_pkg_mgr }} name=flannel state=absent"
-    when: openshift_use_flannel | default(false) | bool
+    when: openshift_use_flannel | default(false) | bool and not is_atomic | bool
 
   - shell: systemctl reset-failed
     changed_when: False