11 lines
323 B
YAML
11 lines
323 B
YAML
- name: Get unused services
|
|
ansible.builtin.include_tasks:
|
|
file: tasks/get-unused.yml
|
|
when: "unused_services is undefined"
|
|
|
|
- name: Stop unused services
|
|
ansible.builtin.command:
|
|
cmd: docker compose down
|
|
chdir: "{{ (services_path, item) | path_join }}"
|
|
changed_when: true
|
|
loop: "{{ unused_services }}"
|