diff options
author | Manjunath A Kumatagi <mkumatag@in.ibm.com> | 2016-09-01 10:11:34 -0400 |
---|---|---|
committer | Manjunath A Kumatagi <mkumatag@in.ibm.com> | 2016-09-01 10:11:34 -0400 |
commit | e8f20d6d1682b63439dc7c53f770677e907cfdc0 (patch) | |
tree | c2421ee3edc1fe48a920fe0682be53241006cc2f /playbooks/adhoc | |
parent | d15a8dccd22737f1ce2b2fa369471651467c35d6 (diff) | |
download | openshift-e8f20d6d1682b63439dc7c53f770677e907cfdc0.tar.gz openshift-e8f20d6d1682b63439dc7c53f770677e907cfdc0.tar.bz2 openshift-e8f20d6d1682b63439dc7c53f770677e907cfdc0.tar.xz openshift-e8f20d6d1682b63439dc7c53f770677e907cfdc0.zip |
Add flannel package removal in uninstallation playbook
Diffstat (limited to 'playbooks/adhoc')
-rw-r--r-- | playbooks/adhoc/uninstall.yml | 5 |
1 files changed, 5 insertions, 0 deletions
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 |