This commit is contained in:
Matteo Basile
2026-07-16 08:58:32 +02:00
parent f27f9388e5
commit 5ccfc7f322
4 changed files with 51 additions and 18 deletions

View File

@@ -14,8 +14,11 @@
- name: Rimuovi immagine (opzionale)
community.docker.docker_image:
name: "{{ container_image_ref }}"
name: "{{ item }}"
state: absent
loop:
- "{{ container_image_ref }}"
- "{{ container_image }}:{{ image_tag }}"
when: remove_image | bool
- name: Rimuovi directory applicazione