Servers, containers and stuff
Find a file
Jake Howard c89dc508ff Merge branch 'renovate/lscr.io-linuxserver-mastodon-4.x' into 'master'
Update lscr.io/linuxserver/mastodon Docker tag to v4.1.0

See merge request sys/infrastructure!106
2023-02-13 08:46:27 +00:00
ansible Update lscr.io/linuxserver/mastodon Docker tag to v4.1.0 2023-02-11 08:02:19 +00:00
scripts Add script to update terraform secrets 2023-02-08 20:37:22 +00:00
terraform Replace uptimerobot with grafana cloud 2023-02-12 16:35:12 +00:00
.gitattributes Mark vault files as generated 2023-01-27 17:33:04 +00:00
.gitignore Commit the terraform lock file 2022-01-08 22:12:44 +00:00
.gitlab-ci.yml Update python Docker tag to v3.11 2022-10-26 16:04:48 +01: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