Files
homelab/step-by-step.md

1.7 KiB

Almost automated step by step walkthrough of full lab deployment

This is will be the complete walkthrough of the deployment of my homelab.

  • On a PC/laptop, clone this git repo

  • Create your vault file for secrets (and store somewhere safe)

    vi ~/.vault_pass.txt
    chmod 644 ~/.vault_pass.txt
    
  • Add "export ANSIBLE_VAULT_PASSWORD_FILE=~/.vault_pass.txt" to your shell profile.

  • Create vault file

    cd homelab/group_vars/all
    ansible-vault create vault
    
  • Modify ansible variables for your environment

Network Manual

Storage Manual

Proxmox Manual

Unbound DNS Manual


Build infra01

  • Copy .vault_pass.txt from laptop and set env variable

  • Clone git repo

  • Install ansible required packages

    cd homelab
    ansible-galaxy collection install -r
    

FreeIPA Manual

Templates Manual

Matchbox Manual

  • Downloading the Agent-based Installer

Hub Cluster In Progress

Prepare matchbox to install hub cluster

Running this playbook will configure Matchbox to wait for the sno-cluster to boot via iPXE and will install Single Node OpenShift. All configuration files are built from templates driven from Ansible variables.

cd homelab
ansible-playbook -i inventory.yml 10-sno-hub-cluster/install.yml
  • PXE boot the SNO host

Internal Cluster TBD

(Deployed in conjunction with ACM)

External Cluster TBD

(Deployed in conjunction with ACM)