2022-10-10 23:15:28 +02:00
|
|
|
# remove db
|
|
|
|
|
|
|
|
- name: Stopping existing service
|
|
|
|
community.docker.docker_compose:
|
|
|
|
project_src: "{{ project_src }}"
|
|
|
|
state: absent
|
|
|
|
remove_volumes: yes
|
|
|
|
remove_images: local
|
|
|
|
register: output
|
|
|
|
|
|
|
|
- name: Debug output
|
|
|
|
debug:
|
|
|
|
var: output
|
|
|
|
|
2022-10-11 22:50:34 +02:00
|
|
|
- name: Remove project
|
2022-10-10 23:15:28 +02:00
|
|
|
file:
|
|
|
|
path: "{{ project_src }}"
|
|
|
|
state: absent
|