Files
kayobe/ansible/roles/docker-registry/tasks/stop.yml
Will Szumski 988a822259 Add podman support
Adds support for Podman as an alternative container engine. This builds
on the support added in kolla-ansible in the 2023.2 cycle.

Change-Id: I2c6befbdda7e684228065103feea7250a0ea3826
2025-01-27 16:42:33 +00:00

11 lines
310 B
YAML

---
- name: Ensure Docker registry container is stopped
kayobe_container:
image: "{{ item.value.image }}"
name: "{{ item.value.container_name }}"
state: "stopped"
with_dict: "{{ docker_registry_services }}"
when:
- item.value.enabled | bool
become: "{{ container_engine == 'podman' }}"