Servers, containers and stuff
Go to file
Jake Howard 359efe72b4
Install pihole
Eventially it'll replace dnsmasq, but not today
2020-03-16 13:44:24 +00:00
.github/workflows Dont init terraform backend on CI 2020-02-22 21:15:50 +00:00
ansible Install pihole 2020-03-16 13:44:24 +00:00
scripts Use ansible galaxy to install docker 2020-03-02 19:37:11 +00:00
terraform Fix spacing so it looks like valid terraform 2020-02-22 23:43:00 +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