mirror of
https://github.com/Crocmagnon/ansible.git
synced 2024-12-04 21:13:38 +01:00
13 lines
367 B
YAML
13 lines
367 B
YAML
---
|
|
- name: Stop service
|
|
listen: Restart service
|
|
community.docker.docker_compose_v2:
|
|
project_src: "{{ docker_dir }}"
|
|
state: stopped
|
|
- name: Start service
|
|
listen: Restart service
|
|
community.docker.docker_compose_v2:
|
|
project_src: "{{ docker_dir }}"
|
|
state: present
|
|
build: "{{ docker_build }}"
|
|
remove_orphans: "{{ docker_remove_orphans }}"
|