tripleo-validations/roles/check_for_dangling_images
omcgonag e8c2f875c8 Check for dangling images
Make sure before update we do not have any dangling images.

Basically - make sure the command:

$ podman images --filter "dangling=true" -q --no-trunc

returns empty.

Co-authored-by: Daniel Bengtsson <dbengt@redhat.com>
Change-Id: I70acd9cef9e84d2c68b7bd3d82dcbd0f99c79fb9
(cherry picked from commit bd87790cf9)
2021-05-17 11:35:00 +02:00
..
defaults Check for dangling images 2021-05-17 11:35:00 +02:00
molecule/default Check for dangling images 2021-05-17 11:35:00 +02:00
tasks Check for dangling images 2021-05-17 11:35:00 +02:00
README.md Check for dangling images 2021-05-17 11:35:00 +02:00

README.md

Check-for-dangling-images

Add Ansible role to check for dangling images

Requirements

This role will be executed pre Update.

Role Variables

  • check_for_dangling_images_debug: <'false'> -- debugging mode.

Dependencies

No Dependencies

Example Playbook

- hosts: servers
  roles:
  - { role: check_for_dangling_images, check_for_dangling_images_debug: true }

License

Apache

Author Information

Red Hat TripleO DFG:Upgrades