khuedoan-homelab/metal
2021-06-13 03:27:15 +07:00
..
group_vars Cleaner Ansible inventory 2021-06-09 19:23:28 +07:00
roles Use the same grubx64.efi path as the image 2021-06-13 03:27:15 +07:00
ansible.cfg Disable host key checking 2021-03-01 00:44:11 +07:00
hosts.yml Cleaner Ansible inventory 2021-06-09 19:23:28 +07:00
main.yml Improve kickstart config 2021-06-11 14:04:18 +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 Fix wrong task name 2021-06-08 19:00:56 +07:00

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