mirror of
https://github.com/Crocmagnon/ansible.git
synced 2024-11-22 15:28:02 +01:00
13 lines
411 B
YAML
13 lines
411 B
YAML
---
|
|
- name: Stop service {{ docker_app_name }}
|
|
listen: Restart service
|
|
community.docker.docker_compose_v2:
|
|
project_src: "{{ docker_dir }}"
|
|
state: stopped
|
|
- name: Start service {{ docker_app_name }}
|
|
listen: Restart service
|
|
community.docker.docker_compose_v2:
|
|
project_src: "{{ docker_dir }}"
|
|
state: present
|
|
build: "{{ docker_build }}"
|
|
remove_orphans: "{{ docker_remove_orphans }}"
|