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

Return value

list / elements=string

list of containers to delete

Returned: success

Authors

  • EDPM team

Hint

Configuration entries for each entry type have a low to high priority order. For example, a variable that is lower in the list will override a variable that is higher up.