aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/roles/my_workspace/tasks/project.yml
diff options
context:
space:
mode:
authorEgor Tensin <egor@tensin.name>2024-11-19 21:15:30 +0100
committerEgor Tensin <egor@tensin.name>2024-11-19 21:15:30 +0100
commiteabe5ac0e647889a3ab7abbbb74c3a71ea3fad24 (patch)
treee80f4e622a8114534a27e7174aab0af5b59beaf3 /roles/my_workspace/tasks/project.yml
parentv4.0.0 (diff)
downloadinfra-ansible-eabe5ac0e647889a3ab7abbbb74c3a71ea3fad24.tar.gz
infra-ansible-eabe5ac0e647889a3ab7abbbb74c3a71ea3fad24.zip
my_workspace: switch to docker_compose_v2
Diffstat (limited to '')
-rw-r--r--roles/my_workspace/tasks/project.yml7
1 files changed, 3 insertions, 4 deletions
diff --git a/roles/my_workspace/tasks/project.yml b/roles/my_workspace/tasks/project.yml
index e788eef..790ab74 100644
--- a/roles/my_workspace/tasks/project.yml
+++ b/roles/my_workspace/tasks/project.yml
@@ -44,10 +44,9 @@
- name: Run docker-compose
become: true
- community.docker.docker_compose:
+ community.docker.docker_compose_v2:
project_src: '{{ project_dir }}'
- pull: true
- build: true
+ pull: always
+ build: always
remove_orphans: true
- debug: true
when: makefile_check is not succeeded and docker_compose_check is succeeded