khuedoan-homelab/metal/README.md

9 lines
664 B
Markdown
Raw Normal View History

2021-04-20 01:55:09 +07:00
# Bare-metal
2021-02-12 16:12:21 +07:00
2021-06-10 07:14:10 +07:00
- Ansible renders the configuration file for each bare metal machine (like IP, hostname...) and the PXE server from [templates](./roles/pxe-boot/templates)
- The tools container creates sibling containers to build a PXE server (includes DHCP, TFTP and HTTP server)
- Ansible [wake the machines up](./roles/pxe-boot/tasks/wake.yml) using Wake on LAN
- The machine start the boot process, the OS get installed (through PXE server) and the machine reboots to the new operating system
- Ansible performs some basic configuration on the machine (like install Docker)
- Ansible creates a Terraform state backend and generates the configuration file for it