calathea: add config

This commit is contained in:
Jef Roosens 2025-01-12 23:19:37 +01:00
parent 2cfd746c52
commit 787a63ea0d
Signed by: Jef Roosens
GPG key ID: 21FD3D77D56BAF49
11 changed files with 137 additions and 1 deletions

View file

@ -0,0 +1,3 @@
---
dependencies:
- role: caddy

View file

@ -0,0 +1,9 @@
---
- name: Ensure Caddyfile is present
template:
src: 'calathea.Caddyfile.j2'
dest: '/etc/caddy/calathea.Caddyfile'
owner: root
group: root
mode: '0644'
notify: caddy-reload

View file

@ -0,0 +1,3 @@
plants.roosens.me {
reverse_proxy {{ hostvars[groups['calathea'][0]].static_ip }}:8013
}