9a3f463345
This change adds basic deployment based on Podman container manager as an alternative to Docker. Signed-off-by: Ivan Halomi <i.halomi@partner.samsung.com> Signed-off-by: Martin Hiner <m.hiner@partner.samsung.com> Signed-off-by: Petr Tuma <p.tuma@partner.samsung.com> Change-Id: I2b52964906ba8b19b8b1098717b9423ab954fa3d Depends-On: Ie4b4c1cf8fe6e7ce41eaa703b423dedcb41e3afc
17 lines
512 B
YAML
17 lines
512 B
YAML
---
|
|
- name: Pruning Kolla images
|
|
become: true
|
|
docker_prune:
|
|
images: yes
|
|
images_filters:
|
|
label: kolla_version
|
|
timeout: "{{ docker_image_prune_timeout }}"
|
|
when: kolla_container_engine == 'docker'
|
|
|
|
# NOTE(m.hiner): Podman does not (yet?) have equivalent of docker_prune
|
|
# and generic module podman_image does not support label filters
|
|
- name: Pruning Kolla images
|
|
become: true
|
|
command: podman image prune --force --filter 'label=kolla_version'
|
|
when: kolla_container_engine == 'podman'
|