fixup! fixup! fixup! Migrate to docker_compose_v2

This commit is contained in:
Tobias Manske 2024-01-22 15:36:29 +01:00
parent 6693c9b686
commit 7add9324c8
Signed by: tobias
GPG Key ID: 9164B527694A0709
2 changed files with 2 additions and 4 deletions

View File

@ -6,7 +6,6 @@
community.docker.docker_compose_v2: community.docker.docker_compose_v2:
project_src: "{{ service_dir | mandatory }}" project_src: "{{ service_dir | mandatory }}"
state: present state: present
restarted: false
recreate: "auto" recreate: "auto"
build: "always" build: "always"
remove_orphans: true remove_orphans: true

View File

@ -5,9 +5,8 @@
- name: Restart Service - name: Restart Service
community.docker.docker_compose_v2: community.docker.docker_compose_v2:
project_src: "{{ service_dir | mandatory }}" project_src: "{{ service_dir | mandatory }}"
pull: always pull: "policy"
state: present state: restarted
restarted: true
recreate: "auto" recreate: "auto"
build: "never" build: "never"
profiles: docker_profiles profiles: docker_profiles