osp.edpm.needs_delete filter – Check which containers need removal¶
New in osp.edpm 2.9
Synopsis¶
This filter will check which containers need to be removed for these reasons: no config_data, updated config_data or container not part of the global config.
Examples¶
{{ podman_containers.containers | osp.edpm.needs_delete(config=all_containers_hash,
config_id=edpm_container_manage_config_id, check_config=False,
clean_orphans=True) }}
Return Value¶
Key |
Description |
---|---|
list of containers to delete Returned: success |