infrastructure/README.md

29 lines
810 B
Markdown
Raw Normal View History

2019-12-08 11:58:43 +00:00
# Infrastructure
2019-12-08 12:12:36 +00:00
2019-12-08 19:33:13 +00:00
## Requirements
- Python 3
- Locally configured SSH config (ideally deployed through [dotfiles](https://github.com/realorangeone/dotfiles))
- `ansible` installed on the system
2023-06-18 17:13:31 +01:00
- [`just`](https://github.com/casey/just)
2019-12-08 19:33:13 +00:00
## Installation
2023-06-18 17:13:31 +01:00
- `just setup`
- `just terraform init`
2019-12-08 19:33:13 +00:00
### Private Settings
Ansible [integrates](https://theorangeone.net/posts/ansible-vault-bitwarden/) with Bitwarden through its [CLI](https://bitwarden.com/help/article/cli/).
2019-12-08 19:33:13 +00:00
Terraform secrets are stored in `terraform/.env`, and provisioned using `just update-secrets`.
2019-12-08 19:33:13 +00:00
## Deploying
2023-06-18 17:13:31 +01:00
- `just ansible-deploy`
- `juts terraform apply`
## External configuration
This repository contains most of my infrastructure configuration, but not everything is configured here. Some things are external, for various reasons.