Servers, containers and stuff
Find a file
2020-05-21 18:11:51 +01:00
.github/workflows Cache ansible requirements 2020-04-23 20:54:54 +01:00
ansible Set nextcloud trusted proxy to docker host IP 2020-05-21 18:11:51 +01:00
scripts Rename galaxy requirements 2020-05-18 16:46:18 +01:00
terraform Deploy web-rng 2020-05-17 18:04:44 +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