use docker compose v2
This commit is contained in:
parent
f1f4c931fe
commit
3b2380a98a
|
@ -15,7 +15,7 @@
|
|||
|
||||
- name: bring down uptime_kuma docker-compose
|
||||
become_user: "{{ uptime_kuma_user }}"
|
||||
docker_compose:
|
||||
community.docker.docker_compose_v2:
|
||||
project_src: /home/{{ uptime_kuma_user }}/uptime_kuma/
|
||||
state: absent
|
||||
remove_orphans: true
|
||||
|
@ -35,7 +35,7 @@
|
|||
|
||||
- name: docker compose up
|
||||
become_user: "{{ uptime_kuma_user }}"
|
||||
docker_compose:
|
||||
community.docker.docker_compose_v2:
|
||||
project_src: /home/{{ uptime_kuma_user }}/uptime_kuma/
|
||||
state: present
|
||||
register: __uptime_kuma
|
||||
|
|
Loading…
Reference in New Issue