khuedoan-homelab/metal
2022-01-08 00:56:44 +07:00
..
group_vars
inventories
roles chore(metal): switch to k3s 1.23 stable 2022-01-08 00:56:44 +07:00
ansible.cfg
boot.yml
cluster.yml
Makefile
README.md
shutdown.yml
Vagrantfile

Bare-metal

  • Ansible renders the configuration file for each bare metal machine (like IP, hostname...) and the PXE server from templates
  • The tools container creates sibling containers to build a PXE server (includes DHCP, TFTP and HTTP server)
  • Ansible wake the machines up 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 build a Kubernetes cluster based on k3s