init commit
This commit is contained in:
22
tasks/main.yaml
Normal file
22
tasks/main.yaml
Normal file
@ -0,0 +1,22 @@
|
||||
---
|
||||
# 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'
|
||||
|
||||
...
|
||||
|
||||
Reference in New Issue
Block a user