summaryrefslogtreecommitdiffstats
path: root/playbooks
diff options
context:
space:
mode:
authorAndrew Butcher <abutcher@redhat.com>2016-09-12 12:43:16 -0400
committerAndrew Butcher <abutcher@redhat.com>2016-09-12 12:43:40 -0400
commit5fd53eac18390429ff272fd775a0a5ec86dd479d (patch)
tree7e3f941ea280fb42624acf6d63e85cf0a73d5e20 /playbooks
parent81eba2cadddce526ec41ec9b9157098cf15e2d18 (diff)
downloadopenshift-5fd53eac18390429ff272fd775a0a5ec86dd479d.tar.gz
openshift-5fd53eac18390429ff272fd775a0a5ec86dd479d.tar.bz2
openshift-5fd53eac18390429ff272fd775a0a5ec86dd479d.tar.xz
openshift-5fd53eac18390429ff272fd775a0a5ec86dd479d.zip
Check for is_atomic when uninstalling flannel package.
Diffstat (limited to 'playbooks')
-rw-r--r--playbooks/adhoc/uninstall.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/playbooks/adhoc/uninstall.yml b/playbooks/adhoc/uninstall.yml
index 30e0f05fd..cd569937c 100644
--- a/playbooks/adhoc/uninstall.yml
+++ b/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