diff options
author | Colin Walters <walters@verbum.org> | 2015-08-27 21:32:17 -0400 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2015-08-27 21:32:17 -0400 |
commit | d565411ae9f2080c7c575744099fe5f79de2bb55 (patch) | |
tree | d5f61b8457163e5096dd81f5b0e4a71f07414a3b /playbooks | |
parent | a564019bba52238e6f1146bfdb2f70145ca3685b (diff) | |
download | openshift-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.
Diffstat (limited to 'playbooks')
-rw-r--r-- | playbooks/adhoc/atomic_openshift_tutorial_reset.yml | 3 |
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: |