Force container restart

This commit is contained in:
Fabio Sinibaldi 2026-09-15 17:16:33 +02:00
parent 218b701b65
commit b51e51c322
1 changed files with 2 additions and 1 deletions

View File

@ -76,10 +76,11 @@
when: pangolin_compose_needs_up
ignore_errors: true
- name: Start Pangolin and Gerbil with Docker Compose (force recreate if needed)
- name: (Re)Start Pangolin and Gerbil with Docker Compose
community.docker.docker_compose_v2:
project_src: "{{ compose_dir.path }}"
register: docker_compose_status
state: restarted
# ansible.builtin.shell: |
# cd /home/ubuntu/pangolin
# docker compose up -d --force-recreate