Ansible project to manage my services. https://viyurz.fr
Find a file
2024-02-18 22:19:55 +01:00
playbooks Replace fake spaces by real ones. 2024-02-17 19:05:39 +01:00
roles Docker: Publish ports to localhost + proxy to ip to reduce lookups. 2024-02-18 22:19:55 +01:00
.gitignore The Great Ansible Update. 2024-02-17 19:01:04 +01:00
ansible-playbook-selector.sh The Great Ansible Update. 2024-02-17 19:01:04 +01:00
ansible.cfg The Great Ansible Update. 2024-02-17 19:01:04 +01:00
backup.sh Backup script: change _ for - in container name. 2024-02-15 11:29:31 +01:00
env.yml The Great Ansible Update. 2024-02-17 19:01:04 +01:00
README.md The Great Ansible Update. 2024-02-17 19:01:04 +01:00
secrets.yml.example The Great Ansible Update. 2024-02-17 19:01:04 +01:00

vps

This repository contains all the files I use to manage services hosted on 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.