summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2015-08-27 22:19:27 -0400
committerColin Walters <walters@verbum.org>2015-08-27 22:20:29 -0400
commit61ba47474f12fb83e9e40f2a1f0a47fd5d393457 (patch)
tree69a3d4cc043aee4709827fb172103ad8a2508dcf
parentd565411ae9f2080c7c575744099fe5f79de2bb55 (diff)
downloadopenshift-61ba47474f12fb83e9e40f2a1f0a47fd5d393457.tar.gz
openshift-61ba47474f12fb83e9e40f2a1f0a47fd5d393457.tar.bz2
openshift-61ba47474f12fb83e9e40f2a1f0a47fd5d393457.tar.xz
openshift-61ba47474f12fb83e9e40f2a1f0a47fd5d393457.zip
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.
-rw-r--r--playbooks/adhoc/atomic_openshift_tutorial_reset.yml4
1 files changed, 4 insertions, 0 deletions
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: