khuedoan-homelab/metal
2021-08-20 19:01:22 +07:00
..
group_vars Restructure so we can merge sooner without breaking current code 2021-08-20 19:01:22 +07:00
roles Restructure so we can merge sooner without breaking current code 2021-08-20 19:01:22 +07:00
ansible.cfg Restructure so we can merge sooner without breaking current code 2021-08-20 19:01:22 +07:00
hosts.yml Restructure so we can merge sooner without breaking current code 2021-08-20 19:01:22 +07:00
main.yml Restructure so we can merge sooner without breaking current code 2021-08-20 19:01:22 +07:00
Makefile Restructure so we can merge sooner without breaking current code 2021-08-20 19:01:22 +07:00
README.md Restructure so we can merge sooner without breaking current code 2021-08-20 19:01:22 +07:00
shutdown.yml Restructure so we can merge sooner without breaking current code 2021-08-20 19:01:22 +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