Files
operating-automation/playbooks/docker/cleanup-all.yml
Ansible Servercow 67c5aae913 initial commit
2024-11-19 16:04:17 +01:00

17 lines
454 B
YAML

- name: Run Docker Cleanup (full)
hosts: all
tasks:
- include_role:
name: managed-mailcow
tasks_from: find-mailcow-composedir.yml
- include_role:
name: docker
tasks_from: get-containerstatus.yml
vars:
docker_compose_path: "{{ mailcow_dir_result.files[0].path }}"
- include_role:
name: docker
tasks_from: cleanup-all.yml
when: not 'false' in container_status.values()