nefarious: all the stuff

This commit is contained in:
Jef Roosens 2024-05-20 14:21:21 +02:00
parent 4a75b2365c
commit b7d3ed7f18
Signed by: Jef Roosens
GPG key ID: B75D4F293C7052DB
12 changed files with 197 additions and 35 deletions

View file

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

View file

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

View file

@ -0,0 +1,3 @@
nf.roosens.me {
reverse_proxy {{ hostvars[groups['nefarious'][0]].static_ip }}:8006
}