From 482c47e87768d7ab4a157c8768283459b6b4bddd Mon Sep 17 00:00:00 2001 From: Andrew Butcher Date: Wed, 4 Nov 2015 19:46:41 -0500 Subject: Remove pacemaker bits. --- playbooks/adhoc/uninstall.yml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'playbooks/adhoc/uninstall.yml') diff --git a/playbooks/adhoc/uninstall.yml b/playbooks/adhoc/uninstall.yml index 0503b7cd4..5b10f856c 100644 --- a/playbooks/adhoc/uninstall.yml +++ b/playbooks/adhoc/uninstall.yml @@ -45,6 +45,7 @@ - origin-master-api - origin-master-controllers - origin-node + - pcsd - yum: name={{ item }} state=absent when: not is_atomic | bool @@ -59,6 +60,7 @@ - atomic-openshift-node - atomic-openshift-sdn-ovs - etcd + - corosync - openshift - openshift-master - openshift-node @@ -69,6 +71,8 @@ - origin-master - origin-node - origin-sdn-ovs + - pacemaker + - pcs - tuned-profiles-atomic-enterprise-node - tuned-profiles-atomic-openshift-node - tuned-profiles-openshift-node @@ -139,6 +143,7 @@ - /etc/ansible/facts.d/openshift.fact - /etc/atomic-enterprise - /etc/etcd + - /etc/corosync - /etc/openshift - /etc/openshift-sdn - /etc/origin @@ -157,3 +162,4 @@ - /var/lib/etcd - /var/lib/openshift - /var/lib/origin + - /var/lib/pacemaker -- cgit v1.2.3 From af928b32bf978e5257fa4bb326559bea3e6bee08 Mon Sep 17 00:00:00 2001 From: Brenton Leanhardt Date: Thu, 5 Nov 2015 11:57:45 -0500 Subject: 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. --- playbooks/adhoc/uninstall.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'playbooks/adhoc/uninstall.yml') 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 -- cgit v1.2.3 From 2a7cb7936318c4cf8a94d36748f7356349234ded Mon Sep 17 00:00:00 2001 From: Andrew Butcher Date: Tue, 10 Nov 2015 16:22:20 -0500 Subject: Add origin-clients to uninstall playbook. --- playbooks/adhoc/uninstall.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'playbooks/adhoc/uninstall.yml') diff --git a/playbooks/adhoc/uninstall.yml b/playbooks/adhoc/uninstall.yml index e05ab43f8..e0dbad900 100644 --- a/playbooks/adhoc/uninstall.yml +++ b/playbooks/adhoc/uninstall.yml @@ -59,8 +59,8 @@ - atomic-openshift-master - atomic-openshift-node - atomic-openshift-sdn-ovs - - etcd - corosync + - etcd - openshift - openshift-master - openshift-node @@ -68,6 +68,7 @@ - openshift-sdn-ovs - openvswitch - origin + - origin-clients - origin-master - origin-node - origin-sdn-ovs -- cgit v1.2.3