From e8f20d6d1682b63439dc7c53f770677e907cfdc0 Mon Sep 17 00:00:00 2001 From: Manjunath A Kumatagi Date: Thu, 1 Sep 2016 10:11:34 -0400 Subject: Add flannel package removal in uninstallation playbook --- playbooks/adhoc/uninstall.yml | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'playbooks/adhoc/uninstall.yml') diff --git a/playbooks/adhoc/uninstall.yml b/playbooks/adhoc/uninstall.yml index 3be3a0e96..4e54bdf0f 100644 --- a/playbooks/adhoc/uninstall.yml +++ b/playbooks/adhoc/uninstall.yml @@ -72,6 +72,10 @@ - tuned-profiles-openshift-node - tuned-profiles-origin-node + - name: Remove flannel package + action: "{{ ansible_pkg_mgr }} name=flannel state=absent" + when: openshift_use_flannel | default(false) | bool + - shell: systemctl reset-failed changed_when: False @@ -289,6 +293,7 @@ - /usr/local/bin/oadm - /usr/local/bin/oc - /usr/local/bin/kubectl + - /etc/flannel # Since we are potentially removing the systemd unit files for separated # master-api and master-controllers services, so we need to reload the -- cgit v1.2.1