kayobe/ansible/roles/inspection-store/tasks/stop.yml

10 lines
265 B
YAML

---
- name: Ensure inspection store container is stopped
docker_container:
image: "{{ item.value.image }}"
name: "{{ item.value.container_name }}"
state: "stopped"
with_dict: "{{ inspection_store_services }}"
when:
- item.value.enabled | bool