mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-07-18 06:24:25 +02:00
11 lines
426 B
YAML
11 lines
426 B
YAML
# It is necessary to shut the projects down, when reset is activated.
|
|
# Otherwise it can lead to this bug:
|
|
# https://github.com/ansible/ansible/issues/10244
|
|
- name: shut down docker compose project
|
|
command:
|
|
cmd: "docker-compose -p {{ application_id }} down"
|
|
|
|
- name: "Remove {{ docker_compose.directories.instance }} and all its contents"
|
|
file:
|
|
path: "{{ docker_compose.directories.instance }}"
|
|
state: absent |