Files
pxe_server/tasks/main.yaml
2025-09-14 14:22:00 -07:00

23 lines
582 B
YAML

---
# This role builds a pxe server and / or an ISO for the amd64 matt-cloud base image
- name: PXE Server - Architecture Warning
when: '"arm" in cpu_architecture'
debug:
msg: "Warning - ARM CPU Detected, will not proceed"
- name: PXE Server - Build PXE Functions
include_tasks: config_pxe.yaml
when: not iso_only | bool
- name: PXE Server - Set up routing
include_tasks: config_routing.yaml
when: configure_routing | bool and not iso_only | bool
- name: PXE Server - Build Deb12-MC.iso
include_tasks: build_iso.yaml
when: '"amd" in cpu_architecture'
...