changed Files: roles/mgrote_docker_compose_inline/tasks/main.yml
All checks were successful
ansible-lint / gitleaks (pull_request) Successful in 5s
ansible-lint / Ansible Lint (pull_request) Successful in 46s

Signed-off-by: Michael Grote <michael.grote@posteo.de>
This commit is contained in:
Michael Grote 2024-11-15 20:30:22 +00:00
parent 8c31964a93
commit 731883bc31

View file

@ -65,9 +65,9 @@
- name: stop old container - name: stop old container
become: true become: true
ansible.builtin.command: docker-compose down # noqa no-changed-when community.docker.docker_compose_v2:
args: project_src: "{{ compose_dest_basedir }}/{{ item.name }}"
chdir: "{{ compose_dest_basedir }}/{{ item.name }}" state: absent
loop: "{{ compose_files }}" loop: "{{ compose_files }}"
when: when:
- item.state == "absent" - item.state == "absent"