purge-docker: force image deletion

even if non-runnin containers are using this image as a reference.

Signed-off-by: Sébastien Han <seb@redhat.com>
(cherry picked from commit c34d0a9d28)
pull/1292/head
Sébastien Han 2017-02-06 14:58:39 +01:00 committed by Andrew Schoen
parent e539610285
commit 32964bbf34
1 changed files with 6 additions and 0 deletions

View File

@ -86,6 +86,7 @@
state: absent
name: "{{ ceph_mds_docker_username }}/{{ ceph_mds_docker_imagename }}"
tag: "{{ ceph_mds_docker_image_tag }}"
force: yes
tags:
remove_img
@ -132,6 +133,7 @@
state: absent
name: "{{ ceph_rgw_docker_username }}/{{ ceph_rgw_docker_imagename }}"
tag: "{{ ceph_rgw_docker_image_tag }}"
force: yes
tags:
remove_img
@ -178,6 +180,7 @@
state: absent
name: "{{ ceph_rbd_mirror_docker_username }}/{{ ceph_rbd_mirror_docker_imagename }}"
tag: "{{ ceph_rbd_mirror_docker_image_tag }}"
force: yes
tags:
remove_img
@ -233,6 +236,7 @@
state: absent
name: "{{ ceph_nfs_docker_username }}/{{ ceph_nfs_docker_imagename }}"
tag: "{{ ceph_nfs_docker_image_tag }}"
force: yes
tags:
remove_img
@ -328,6 +332,7 @@
state: absent
name: "{{ ceph_osd_docker_username }}/{{ ceph_osd_docker_imagename }}"
tag: "{{ ceph_osd_docker_image_tag }}"
force: yes
tags:
remove_img
@ -385,6 +390,7 @@
state: absent
name: "{{ ceph_mon_docker_username }}/{{ ceph_mon_docker_imagename }}"
tag: "{{ ceph_mon_docker_image_tag }}"
force: yes
tags:
remove_img