infrastructure/coreos-config/roles/compose_project/tasks/remove.yml

12 lines
244 B
YAML
Raw Normal View History

---
- name: Stop Service
community.docker.docker_compose:
project_src: "{{ service_dir | mandatory }}"
state: absent
remove_orphans: true
- name: Remove Service
file:
state: absent
path: "{{ service_dir | mandatory }}"