khuedoan-homelab/metal
2021-06-13 14:46:00 +07:00
..
group_vars Cleaner Ansible inventory 2021-06-09 19:23:28 +07:00
roles Use absolute symlink for timezone 2021-06-13 14:46:00 +07:00
ansible.cfg
hosts.yml Use colon instead of hyphen for MAC address to fit GRUB's net_default_mac 2021-06-13 13:27:01 +07:00
main.yml Remove Docker role, CoreOS has Docker preinstalled 2021-06-13 11:07:56 +07:00
Makefile Add linters for metal and infra 2021-06-10 19:28:34 +07:00
README.md Cleaner README 2021-06-10 07:14:10 +07:00
shutdown.yml

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 performs some basic configuration on the machine (like install Docker)
  • Ansible creates a Terraform state backend and generates the configuration file for it