diff --git a/playbooks/roles/docker_compose/tasks/main.yaml b/playbooks/roles/docker_compose/tasks/main.yaml index 3a434ec..e8cfcd0 100644 --- a/playbooks/roles/docker_compose/tasks/main.yaml +++ b/playbooks/roles/docker_compose/tasks/main.yaml @@ -48,7 +48,7 @@ state: absent become: true loop: "{{ docker_compose__config_files_to_remove.files }}" - notify: docker compose down + # notify: docker compose down - name: make sure all given configuration files are deployed ansible.builtin.copy: @@ -59,7 +59,7 @@ group: root become: true loop: "{{ docker_compose__configuration_files }}" - notify: docker compose down + # notify: docker compose down - name: Flush handlers to make "docker compose down" handler run now ansible.builtin.meta: flush_handlers @@ -74,7 +74,7 @@ - name: docker compose up --detach --pull always --build ansible.builtin.command: - cmd: /usr/bin/docker compose up --detach --pull always --build + cmd: /usr/bin/docker compose up --detach --pull always --build --remove-orphans chdir: /ansible_docker_compose become: true changed_when: false