summaryrefslogtreecommitdiffstats
path: root/playbooks
diff options
context:
space:
mode:
Diffstat (limited to 'playbooks')
-rw-r--r--playbooks/adhoc/atomic_openshift_tutorial_reset.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/playbooks/adhoc/atomic_openshift_tutorial_reset.yml b/playbooks/adhoc/atomic_openshift_tutorial_reset.yml
index 1200caa2a..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
@@ -61,12 +63,15 @@
- shell: docker ps -a -q | xargs docker stop
changed_when: False
+ failed_when: False
- shell: docker ps -a -q| xargs docker rm
changed_when: False
+ failed_when: False
- shell: docker images -q |xargs docker rmi
changed_when: False
+ failed_when: False
- file: path={{ item }} state=absent
with_items:
@@ -86,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: