Servers, containers and stuff
Go to file
Jake Howard 335992c9e9
Restore custom middleware implementation.
This redirect doesn't work correctly, let's revert to our custom one for
now. It does exactly the same thing, anyway
2020-03-31 14:53:00 +01:00
.github/workflows Dont init terraform backend on CI 2020-02-22 21:15:50 +00:00
ansible Restore custom middleware implementation. 2020-03-31 14:53:00 +01:00
scripts Use ansible galaxy to install docker 2020-03-02 19:37:11 +00:00
terraform Setup shorter yourls domain 2020-03-20 22:29:43 +00: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.4 to 2.9.5 2020-03-01 05:51:21 +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