infra/README.md

32 lines
794 B
Markdown
Raw Permalink Normal View History

2024-06-11 22:15:22 +00:00
# Infrastructure as code
**Questo repository è un work in progress!**
Configurazioni dei server del GOLEM tramite Ansible.
## Development tools
### With Nix
Su un sistema con Nix è possibile installare [devenv](https://devenv.sh/) (e
opzionalmente [direnv](https://devenv.sh/automatic-shell-activation/)) per avere
un ambiente di sviluppo completo e ripetibile.
Eseguire `just help` per la lista dei job di automazione disponibili.
### Without Nix
Strumenti consigliati per lo sviluppo su sistemi senza Nix:
- [Ansible](https://docs.ansible.com/ansible/latest/index.html)
- [just](https://just.systems/man/en/chapter_1.html)
- [editorconfig](https://editorconfig.org/)
- [pre-commit](https://pre-commit.com/)
Deployment manuale:
```bash
cd playbooks
ansible-playbook main.yaml
```