Servers, containers and stuff
Find a file
2020-05-09 20:07:19 +01:00
.github/workflows Cache ansible requirements 2020-04-23 20:54:54 +01:00
ansible Use sysctl to enable p2p comms 2020-05-09 20:07:19 +01:00
scripts Use ansible galaxy to install docker 2020-03-02 19:37:11 +00:00
terraform Add shorter URLs for upload 2020-05-08 21:45:27 +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.6 to 2.9.7 2020-05-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