Servers, containers and stuff
Find a file
2022-11-23 20:40:48 +00:00
ansible Update redis Docker tag to v7 2022-11-21 16:02:19 +00:00
scripts Decommission k8s environment 2022-05-02 21:44:33 +01:00
terraform Deploy me a mastodon 2022-11-18 09:12:28 +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
renovate.json Remove limit for open MRs 2022-05-07 12:21:21 +01:00
yamllint.yml Add a skeleton k8s deployment setup 2022-03-07 21:58:17 +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