covas-deployment/db/tasks/remove-db.yml

18 lines
337 B
YAML

# remove db
- name: Stopping existing service
community.docker.docker_compose:
project_src: /home/valentin/db
state: absent
remove_volumes: yes
remove_images: local
register: output
- name: Debug output
debug:
var: output
- name: Remove project covas db
file:
path: /home/valentin/db
state: absent