diff options
author | Brenton Leanhardt <bleanhar@redhat.com> | 2015-08-28 11:44:36 -0400 |
---|---|---|
committer | Brenton Leanhardt <bleanhar@redhat.com> | 2015-08-28 11:44:36 -0400 |
commit | 68223f205b6c4e6ea124ccc982cd9bbcba63ced6 (patch) | |
tree | b48dc75b954c0ff4651ebb7c4a7e70f81e8a32a1 /playbooks | |
parent | e6c157be1208c46d4fd63f402517aec19971df12 (diff) | |
parent | 61ba47474f12fb83e9e40f2a1f0a47fd5d393457 (diff) | |
download | openshift-68223f205b6c4e6ea124ccc982cd9bbcba63ced6.tar.gz openshift-68223f205b6c4e6ea124ccc982cd9bbcba63ced6.tar.bz2 openshift-68223f205b6c4e6ea124ccc982cd9bbcba63ced6.tar.xz openshift-68223f205b6c4e6ea124ccc982cd9bbcba63ced6.zip |
Merge pull request #525 from cgwalters/tutorial-reset-no-images
adhoc/tutorial_reset: Cleanup the cleanup
Diffstat (limited to 'playbooks')
-rw-r--r-- | playbooks/adhoc/atomic_openshift_tutorial_reset.yml | 7 |
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: |