From 61ba47474f12fb83e9e40f2a1f0a47fd5d393457 Mon Sep 17 00:00:00 2001
From: Colin Walters <walters@verbum.org>
Date: Thu, 27 Aug 2015 22:19:27 -0400
Subject: adhoc/tutorial_reset: Also delete etcd and data

I needed this because I forgot to override openshift_hostname, and it
found the wrong hostname, which then leaked into etcd certs, which
caused the master to fail to start.
---
 playbooks/adhoc/atomic_openshift_tutorial_reset.yml | 4 ++++
 1 file changed, 4 insertions(+)

(limited to 'playbooks/adhoc')

diff --git a/playbooks/adhoc/atomic_openshift_tutorial_reset.yml b/playbooks/adhoc/atomic_openshift_tutorial_reset.yml
index 3e22f8f2d..54d3ea278 100644
--- a/playbooks/adhoc/atomic_openshift_tutorial_reset.yml
+++ b/playbooks/adhoc/atomic_openshift_tutorial_reset.yml
@@ -19,10 +19,12 @@
         - openshift-node
         - atomic-enterprise-master
         - atomic-enterprise-node
+        - etcd
 
     - yum: name={{ item }} state=absent
       with_items:
         - openvswitch
+        - etcd
         - origin
         - origin-master
         - origin-node
@@ -89,6 +91,8 @@
         - /etc/sysconfig/openshift-node
         - /etc/sysconfig/atomic-enterprise-master
         - /etc/sysconfig/atomic-enterprise-node
+        - /etc/etcd
+        - /var/lib/etcd
 
     - user: name={{ item }} state=absent remove=yes
       with_items:
-- 
cgit v1.2.3