ansible/roles/docker/handlers/main.yaml
2024-10-12 11:21:44 +02:00

12 lines
317 B
YAML

---
- name: Stop service
community.docker.docker_compose_v2:
project_src: "{{ docker_dir }}"
state: stopped
listen: Restart service
- name: Start service
community.docker.docker_compose_v2:
project_src: "{{ docker_dir }}"
state: present
build: "{{ docker_build }}"
listen: Restart service