Personal Digital Infrastructure
How I deploy, manage and configure my digital infrastructure. Using:
- DigitalOcean - Cloud Servers & DNS
- Ansible - Configuration Automation
- Terraform - Infrastructure Automation
- terraform-inventory
On macOS control machine:
git clone https://github.com/davisonio/personal-digital-infrastructure
pip3 install ansible
brew install terraform terraform-inventory
Set this in your .zshrc
if ya like
export TF_STATE=.
To change infrastructure:
terraform apply
Newly created/changed infrastructure will run provisions which may include changing configuration.
To change configuration:
ansible-playbook plays/<name>.yml
Secrets are stored in secrets.auto.tfvars
.