Use command instead of docker_compose plugin

This commit is contained in:
Oliver Traber 2023-03-15 22:55:38 +01:00
parent 537590d799
commit 6c674ff530
Signed by: Bluemedia
GPG key ID: C0674B105057136C
4 changed files with 4 additions and 12 deletions

View file

@ -30,9 +30,4 @@
loop: "{{ groups['metal'] }}"
- name: Start PXE stack
docker_compose:
project_src: "{{ role_path }}/files"
project_name: "pxe"
state: present
restarted: true
build: true
ansible.builtin.command: "docker compose --project-name pxe -f {{ role_path }}/files/docker-compose.yml up -d --build"