feat: Use the jriou.general Ansible collection

Signed-off-by: Julien Riou <julien@riou.xyz>
This commit is contained in:
Julien Riou 2026-03-23 10:11:03 +01:00
commit 02d3ee924d
Signed by: jriou
GPG key ID: 9A099EDA51316854
12 changed files with 49 additions and 199 deletions

View file

@ -78,6 +78,47 @@ tofu destroy
# Ansible
## Installation
```
cd ansible
ansible-galaxy collection install -r requirements.yml
```
## Configuration
File `group_vars/galene.yml`:
```yaml
certbot_domain: &domain galene.tld
certbot_email: contact@galene.tld
galene_domain: *domain
galene_groups:
group1:
users:
admin:
password: CHANGEME
permissions: op
user1:
password: CHANGEME
permissions: present
user2:
password: CHANGEME
permissions: present
```
## Usage
```
ansible-playbook site.yml
```
Do not forget to destroy the infrastructure when you are done with the video
conference.
# Aliases
```bash
alias galene-start='cd /path/to/galene-cloud/tofu && tofu apply && cd /path/to/galene-cloud/ansible && ansible-playbook site.yml'
alias galene-stop='cd /path/to/galene-cloud/tofu && tofu destroy'
```