summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrenton Leanhardt <bleanhar@redhat.com>2015-11-05 15:45:58 -0500
committerBrenton Leanhardt <bleanhar@redhat.com>2015-11-05 15:45:58 -0500
commit4037c37c5f505f9f3017fe92b10db009e85d863d (patch)
tree492a30c19b97d82403198e6521e4034ee2f86510
parent8f73151afed5d83e36cf95e58e40fb8e38ba114c (diff)
parentaf928b32bf978e5257fa4bb326559bea3e6bee08 (diff)
downloadopenshift-4037c37c5f505f9f3017fe92b10db009e85d863d.tar.gz
openshift-4037c37c5f505f9f3017fe92b10db009e85d863d.tar.bz2
openshift-4037c37c5f505f9f3017fe92b10db009e85d863d.tar.xz
openshift-4037c37c5f505f9f3017fe92b10db009e85d863d.zip
Merge pull request #820 from brenton/uninstall
The uninstall playbook needs to remove /run/openshift-sdn
-rw-r--r--playbooks/adhoc/uninstall.yml8
1 files changed, 6 insertions, 2 deletions
diff --git a/playbooks/adhoc/uninstall.yml b/playbooks/adhoc/uninstall.yml
index 5b10f856c..e05ab43f8 100644
--- a/playbooks/adhoc/uninstall.yml
+++ b/playbooks/adhoc/uninstall.yml
@@ -140,10 +140,11 @@
- file: path={{ item }} state=absent
with_items:
+ - "~{{ ansible_ssh_user }}/.kube"
- /etc/ansible/facts.d/openshift.fact
- /etc/atomic-enterprise
- - /etc/etcd
- /etc/corosync
+ - /etc/etcd
- /etc/openshift
- /etc/openshift-sdn
- /etc/origin
@@ -156,10 +157,13 @@
- /etc/sysconfig/origin-master
- /etc/sysconfig/origin-node
- /root/.kube
- - "~{{ ansible_ssh_user }}/.kube"
+ - /run/openshift-sdn
- /usr/share/openshift/examples
- /var/lib/atomic-enterprise
- /var/lib/etcd
- /var/lib/openshift
- /var/lib/origin
- /var/lib/pacemaker
+
+ - name: restart docker
+ service: name=docker state=restarted