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>
pull/1281/head
Sébastien Han 2017-02-06 14:58:39 +01:00
parent 72cd9199ac
commit c34d0a9d28
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