Servers, containers and stuff
Find a file
Jake Howard c1319a134a
Forget snapshots in groups by host
By default, it includes the path, which means path changes result in very old snapshots

https://twitter.com/RealOrangeOne/status/1484217495124852748
2022-01-20 17:43:56 +00:00
ansible Forget snapshots in groups by host 2022-01-20 17:43:56 +00:00
scripts Update yamllint to fix dependency issue 2022-01-11 20:51:12 +00:00
terraform Give every cloud machine its own cname 2022-01-19 08:44:21 +00:00
.gitattributes Force yaml to be detected as its own language 2020-11-11 09:05:08 +00:00
.gitignore Commit the terraform lock file 2022-01-08 22:12:44 +00:00
.gitlab-ci.yml Pretend vault pass script is the password 2021-12-20 17:48:14 +00:00
README.md Read vault password from bitwarden instead of filesystem 2021-12-20 17:25:18 +00:00

Infrastructure

CI

Requirements

  • Python 3
  • Locally configured SSH config (ideally deployed through dotfiles)
  • ansible installed on the system

Installation

  • ./scripts/ansible/setup.sh
  • cd terraform/ && ./scripts/terraform/terraform.sh init

Private Settings

Ansible integrates with Bitwarden through its CLI.

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