infrastructure/README.md

31 lines
850 B
Markdown
Raw Normal View History

2019-12-08 11:58:43 +00:00
# Infrastructure
2019-12-08 12:12:36 +00:00
![Ansible Status](https://github.com/realorangeone/infrastructure/workflows/Ansible/badge.svg)
2020-02-21 18:51:06 +00:00
![Terraform Status](https://github.com/realorangeone/infrastructure/workflows/Terraform/badge.svg)
2019-12-08 12:12:36 +00:00
![Generic Linting](https://github.com/realorangeone/infrastructure/workflows/Lint/badge.svg)
2019-12-08 19:33:13 +00:00
## Requirements
- Python 3
- Locally configured SSH config (ideally deployed through [dotfiles](https://github.com/realorangeone/dotfiles))
## Installation
`./scripts/setup.sh`
### Private Settings
The ansible vault password needs setting in `ansible/.vault_pass`.
2020-02-21 18:51:46 +00:00
Terraform configuration needs to be placed in `terraform/secrets.auto.tfvars`.
Terraform backend secrets need to be placed in `terraform/secrets.sh`.
2019-12-08 19:33:13 +00:00
## Deploying
`./scripts/deploy.sh`
Alternatively, each component can be deployed separately:
- `./scripts/ansible.sh`