diff --git a/roles/apiserver_docker/tasks/main.yml b/roles/apiserver_docker/tasks/main.yml index 630970b..1747526 100644 --- a/roles/apiserver_docker/tasks/main.yml +++ b/roles/apiserver_docker/tasks/main.yml @@ -50,7 +50,7 @@ mode: 0600 - name: 'Start compose stack' - docker_compose: + community.docker.docker_compose_v2: project_src: '{{ apiserver_proxy_stack_dir }}' state: present when: >- diff --git a/roles/apiserver_haproxy_upgrade/tasks/main.yml b/roles/apiserver_haproxy_upgrade/tasks/main.yml index 3fdfce2..8ebc624 100644 --- a/roles/apiserver_haproxy_upgrade/tasks/main.yml +++ b/roles/apiserver_haproxy_upgrade/tasks/main.yml @@ -2,7 +2,7 @@ - name: "Upgrade to haproxy" block: - name: "Stop compose stack" - docker_compose: + community.docker.docker_compose_v2: project_src: '{{ apiserver_proxy_stack_dir }}' state: absent vars: