Servers, containers and stuff
Find a file
Jake Howard d7bb71d14b
Remove terraform modules
Makes sharing variables between modules (which i'd have to do) incredibly difficult. So flat with naming conventions it is!
2020-03-20 20:47:13 +00:00
.github/workflows Dont init terraform backend on CI 2020-02-22 21:15:50 +00:00
ansible Remove statping from internal DNS 2020-03-19 19:16:04 +00:00
scripts Use ansible galaxy to install docker 2020-03-02 19:37:11 +00:00
terraform Remove terraform modules 2020-03-20 20:47:13 +00:00
.gitignore Use ansible galaxy to install docker 2020-03-02 19:37:11 +00:00
dev-requirements.txt Bump yamllint from 1.19.0 to 1.20.0 2020-01-01 07:31:43 +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 Ignore galaxy roles when linting 2020-03-02 19:46:20 +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