khuedoan-homelab/metal
2021-04-18 22:20:12 +07:00
..
group_vars Optimize PXE config templating 2021-03-03 01:25:56 +07:00
roles Export metal secrets to an env file 2021-03-21 18:24:48 +07:00
ansible.cfg Disable host key checking 2021-03-01 00:44:11 +07:00
hosts.ini Rework role structure 2021-03-03 00:04:09 +07:00
main.yml Change main playbook file name 2021-03-03 21:51:19 +07:00
Makefile Change main playbook file name 2021-03-03 21:51:19 +07:00
README.md Add layer 0 bare metal docs 2021-02-12 16:12:21 +07:00
requirements.txt Add missing lib for Ansible 2021-04-18 22:20:12 +07:00

Layer 0

Bare metal provisioning

  • Render PXE boot configs
  • Start Docker based PXE server
  • Turn off all nodes
  • Wake them up using magic packet
  • Install OS using PXE and kickstart
  • Wait for the OS installation to finish and reboot to the new OS
  • Start basic provisioning
    • Install Docker
    • Create simple etcd container for Terraform state
  • Generate Terraform backend config