瀏覽代碼

Merge pull request #2438 from abutcher/flannel-uninstall

Check for is_atomic when uninstalling flannel package.
Scott Dodson 8 年之前
父節點
當前提交
e27714c437
共有 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