diff options
| author | Andrew Butcher <abutcher@redhat.com> | 2016-09-12 12:43:16 -0400 | 
|---|---|---|
| committer | Andrew Butcher <abutcher@redhat.com> | 2016-09-12 12:43:40 -0400 | 
| commit | 5fd53eac18390429ff272fd775a0a5ec86dd479d (patch) | |
| tree | 7e3f941ea280fb42624acf6d63e85cf0a73d5e20 | |
| parent | 81eba2cadddce526ec41ec9b9157098cf15e2d18 (diff) | |
Check for is_atomic when uninstalling flannel package.
| -rw-r--r-- | playbooks/adhoc/uninstall.yml | 2 | 
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 | 
