From 84bd288b6fb64ebff70339843b0f17a53446b349 Mon Sep 17 00:00:00 2001 From: Khue Doan Date: Mon, 2 Sep 2024 12:07:44 +0700 Subject: [PATCH] refactor(pxe): switch Docker Compose module to v2 --- flake.nix | 2 +- metal/roles/pxe_server/tasks/main.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/flake.nix b/flake.nix index ccd21675..c203ab64 100644 --- a/flake.nix +++ b/flake.nix @@ -25,7 +25,7 @@ bmake diffutils docker - docker-compose_1 # TODO upgrade to version 2 + docker-compose dyff git go diff --git a/metal/roles/pxe_server/tasks/main.yml b/metal/roles/pxe_server/tasks/main.yml index 972871af..a6f9d750 100644 --- a/metal/roles/pxe_server/tasks/main.yml +++ b/metal/roles/pxe_server/tasks/main.yml @@ -41,7 +41,7 @@ loop: "{{ groups['metal'] }}" - name: Start the ephemeral PXE server - community.docker.docker_compose: + community.docker.docker_compose_v2: project_src: "{{ role_path }}/files" state: present - build: true + build: always