Browse Source

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.
Colin Walters 9 years ago
parent
commit
61ba47474f
1 changed files with 4 additions and 0 deletions
  1. 4 0
      playbooks/adhoc/atomic_openshift_tutorial_reset.yml

+ 4 - 0
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: