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