Servers, containers and stuff
Find a file
2020-04-17 23:04:20 +01:00
.github/workflows Dont init terraform backend on CI 2020-02-22 21:15:50 +00:00
ansible Massively increase timeouts to prevent websocket issues 2020-04-17 23:04:20 +01:00
scripts Use ansible galaxy to install docker 2020-03-02 19:37:11 +00:00
terraform Self host my website 🎉 2020-04-10 11:31:01 +01:00
.gitignore Use ansible galaxy to install docker 2020-03-02 19:37:11 +00:00
dev-requirements.txt Standardize string quotes in yaml 2020-03-25 21:27:15 +00:00
README.md Update README commands 2020-02-22 23:50:40 +00:00
requirements.txt Bump ansible from 2.9.5 to 2.9.6 2020-04-01 08:38:57 +00:00
yamllint.yml Standardize string quotes in yaml 2020-03-25 21:27:15 +00:00

Infrastructure

Ansible Status Terraform Status

Requirements

  • Python 3
  • Locally configured SSH config (ideally deployed through dotfiles)

Installation

  • ./scripts/ansible/setup.sh
  • cd terraform/ && ./scripts/terraform/terraform.sh init

Private Settings

The ansible vault password needs setting in ansible/.vault_pass.

Terraform configuration needs to be placed in terraform/secrets.auto.tfvars.

Terraform backend secrets need to be placed in terraform/secrets.sh.

Deploying

  • ./scripts/ansible/deploy.sh
  • ./scripts/terraform/terraform.sh apply