--- - name: Ensure {{ podman_package }} installed dnf: name: "{{ podman_package }}" state: "{{ 'latest' if podman_version == 'latest' else 'present' }}" update_cache: yes