Servers, containers and stuff
Find a file
2020-05-29 15:36:40 +01:00
.github/workflows Cache ansible requirements 2020-04-23 20:54:54 +01:00
ansible Update duplicati base 2020-05-29 15:36:40 +01:00
scripts Time deploy 2020-05-25 12:09:24 +01:00
terraform Move duplicati to its own role so it can be installed on grimes 2020-05-25 17:25:58 +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