Skip to content

Swage590/HomeLab-Infrastructure

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HomeLab-Infrastructure

This is my configuration files that I use to configure my HomeLab

Dependancies

Terraform --> https://developer.hashicorp.com/terraform/tutorials/aws-get-started/install-cli

Ansible --> https://docs.ansible.com/ansible/latest/installation_guide/intro_installation.html

Directions for setup

git clone https://github.com/Swage590/HomeLab-Infrastructure
cd HomeLab-Infrastructure
chmod +x inject-op-token.sh
chmod +x windows-op-wrapper.sh
chmod +x Ansible/ansible-vault-password.sh
cd Terraform
terraform init

Terraform Instructions

source inject-op-token.sh
cd Terraform
terraform apply

Ansible Instructions

cd Ansible
python3 sync-host-vars.py
ansible-playbook main.yml --vault-password-file ansible-vault-password.sh

Ops Design

00:00 - Backups run at midnight on all systems

01:00 - Backups are encrypted and exported to the cloud

03:00 - Host updates are run

04:00 - Container updates are run

05:00 - Certificates are updates

About

This code defines what runs in my Homelab

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors