20 lines
595 B
Markdown
20 lines
595 B
Markdown
# vps
|
|
This repository contains all the files I use to manage services hosted on [viyurz.fr](https://viyurz.fr).
|
|
|
|
|
|
## Requirements
|
|
Ansible:
|
|
```
|
|
sudo apt install -y ansible
|
|
```
|
|
|
|
Setup SSL certificates with Certbot beforehand:
|
|
```
|
|
sudo apt install -y certbot python3-certbot-dns-ovh
|
|
```
|
|
|
|
|
|
## Secrets
|
|
Copy the existing `secrets.yml.example` to `secrets.yml`, run `ansible-vault encrypt secrets.yml` to encrypt the file with a password, and finally edit the newly encrypted file with `ansible-vault edit secrets.yml`.
|
|
|
|
If you want to change the vault password run `ansible-vault rekey secrets.yml`.
|