summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2015-08-27 21:32:17 -0400
committerColin Walters <walters@verbum.org>2015-08-27 21:32:17 -0400
commitd565411ae9f2080c7c575744099fe5f79de2bb55 (patch)
treed5f61b8457163e5096dd81f5b0e4a71f07414a3b
parenta564019bba52238e6f1146bfdb2f70145ca3685b (diff)
downloadopenshift-d565411ae9f2080c7c575744099fe5f79de2bb55.tar.gz
openshift-d565411ae9f2080c7c575744099fe5f79de2bb55.tar.bz2
openshift-d565411ae9f2080c7c575744099fe5f79de2bb55.tar.xz
openshift-d565411ae9f2080c7c575744099fe5f79de2bb55.zip
adhoc/tutorial_reset: Don't error out if there are no Docker images
I'd like this playbook to always work.
-rw-r--r--playbooks/adhoc/atomic_openshift_tutorial_reset.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/playbooks/adhoc/atomic_openshift_tutorial_reset.yml b/playbooks/adhoc/atomic_openshift_tutorial_reset.yml
index 1200caa2a..3e22f8f2d 100644
--- a/playbooks/adhoc/atomic_openshift_tutorial_reset.yml
+++ b/playbooks/adhoc/atomic_openshift_tutorial_reset.yml
@@ -61,12 +61,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: