ansible/roles/docker/handlers/main.yaml

14 lines
367 B
YAML
Raw Normal View History

2024-10-11 18:41:46 +02:00
---
2024-10-11 19:32:39 +02:00
- name: Stop service
2024-10-17 16:52:38 +02:00
listen: Restart service
2024-10-11 18:41:46 +02:00
community.docker.docker_compose_v2:
project_src: "{{ docker_dir }}"
2024-10-11 19:32:39 +02:00
state: stopped
- name: Start service
2024-10-17 16:52:38 +02:00
listen: Restart service
2024-10-11 19:32:39 +02:00
community.docker.docker_compose_v2:
project_src: "{{ docker_dir }}"
state: present
2024-10-12 11:21:44 +02:00
build: "{{ docker_build }}"
2024-10-17 16:52:38 +02:00
remove_orphans: "{{ docker_remove_orphans }}"