mirror of
https://github.com/BluemediaGER/homelab.git
synced 2024-11-22 11:05:28 +01:00
Use command instead of docker_compose plugin
This commit is contained in:
parent
537590d799
commit
6c674ff530
|
@ -1,8 +1,5 @@
|
|||
- name: Tear down PXE stack
|
||||
docker_compose:
|
||||
project_name: "pxe"
|
||||
project_src: "{{ playbook_dir }}/roles/pxe-server/files/"
|
||||
state: absent
|
||||
ansible.builtin.command: "docker compose --project-name pxe down"
|
||||
|
||||
- name: Remove preseed files
|
||||
file:
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
os_download_url: "https://deb.debian.org/debian/dists/bullseye/main/installer-amd64/current/images/netboot/netboot.tar.gz"
|
||||
os_download_checksum: "sha256:ec3b71964457f30a57061ea758c12394bf2b792b461c697e61cc2d47053c5878"
|
||||
os_download_checksum: "sha256:e8edf26ac9837d7dbbcfd96f47f51530260a6c68568938978e1b63ea698d5663"
|
||||
|
|
|
@ -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"
|
|
@ -5,4 +5,4 @@
|
|||
|
||||
- name: Wait for machines to come online with installed OS
|
||||
wait_for_connection:
|
||||
timeout: 600
|
||||
timeout: 900
|
Loading…
Reference in a new issue