use docker compose v2

This commit is contained in:
Brandon Shipley 2025-01-02 22:41:08 -08:00
parent f1f4c931fe
commit 3b2380a98a
1 changed files with 2 additions and 2 deletions

View File

@ -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