fixup! fixup! fixup! fixup! Migrate to docker_compose_v2
This commit is contained in:
parent
7add9324c8
commit
a04ccd35ea
@ -2,6 +2,16 @@
|
|||||||
|
|
||||||
- include_tasks: present.yml
|
- include_tasks: present.yml
|
||||||
|
|
||||||
|
- name: Start Service
|
||||||
|
community.docker.docker_compose_v2:
|
||||||
|
project_src: "{{ service_dir | mandatory }}"
|
||||||
|
pull: "policy"
|
||||||
|
state: running
|
||||||
|
recreate: "auto"
|
||||||
|
build: "never"
|
||||||
|
profiles: docker_profiles
|
||||||
|
remove_orphans: true
|
||||||
|
|
||||||
- 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 }}"
|
||||||
|
Loading…
Reference in New Issue
Block a user