ansible-role-openstack-oper.../tasks/container_cleanup.yml

8 lines
273 B
YAML

- name: Ensure a valid container runtime is used
assert:
msg: Invalid container runtime specified. Only 'docker' and 'podman' are valid.
that:
- operations_container_runtime in ['docker', 'podman']
- include_tasks: "{{ operations_container_runtime }}.yml"