diff options
author | Egor Tensin <egor@tensin.name> | 2024-11-19 21:15:30 +0100 |
---|---|---|
committer | Egor Tensin <egor@tensin.name> | 2024-11-19 21:15:30 +0100 |
commit | eabe5ac0e647889a3ab7abbbb74c3a71ea3fad24 (patch) | |
tree | e80f4e622a8114534a27e7174aab0af5b59beaf3 /roles/my_workspace | |
parent | v4.0.0 (diff) | |
download | infra-ansible-eabe5ac0e647889a3ab7abbbb74c3a71ea3fad24.tar.gz infra-ansible-eabe5ac0e647889a3ab7abbbb74c3a71ea3fad24.zip |
my_workspace: switch to docker_compose_v2
Diffstat (limited to 'roles/my_workspace')
-rw-r--r-- | roles/my_workspace/tasks/project.yml | 7 |
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 |