summaryrefslogtreecommitdiffstats
path: root/playbooks
diff options
context:
space:
mode:
authorBrenton Leanhardt <bleanhar@redhat.com>2015-11-05 11:57:45 -0500
committerBrenton Leanhardt <bleanhar@redhat.com>2015-11-05 12:27:22 -0500
commitaf928b32bf978e5257fa4bb326559bea3e6bee08 (patch)
treef6cef78598972f0c7f286693d6c86fcb86afe7d8 /playbooks
parent6a7b20e72b9692b298ac8c911bf78128e115955b (diff)
downloadopenshift-af928b32bf978e5257fa4bb326559bea3e6bee08.tar.gz
openshift-af928b32bf978e5257fa4bb326559bea3e6bee08.tar.bz2
openshift-af928b32bf978e5257fa4bb326559bea3e6bee08.tar.xz
openshift-af928b32bf978e5257fa4bb326559bea3e6bee08.zip
The uninstall playbook needs to remove /run/openshift-sdn
If this isn't removed lbr0 won't be recreated by the Node after the following install.
Diffstat (limited to 'playbooks')
-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