From 5fd53eac18390429ff272fd775a0a5ec86dd479d Mon Sep 17 00:00:00 2001 From: Andrew Butcher Date: Mon, 12 Sep 2016 12:43:16 -0400 Subject: Check for is_atomic when uninstalling flannel package. --- playbooks/adhoc/uninstall.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'playbooks/adhoc/uninstall.yml') 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 -- cgit v1.2.3