fix role docker_compose: pull and restart #243

Merged
mg merged 5 commits from inline into master 2024-11-15 21:37:29 +01:00
Showing only changes of commit 731883bc31 - Show all commits

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"