jelly, caddy, other stuff

This commit is contained in:
Jef Roosens 2023-12-24 20:52:13 +01:00
parent 5ad30d3343
commit 592992f031
Signed by: Jef Roosens
GPG key ID: B75D4F293C7052DB
17 changed files with 150 additions and 45 deletions

View file

@ -1,3 +1,4 @@
---
- name: Add Caddy GPG key
apt_key:
url: "https://dl.cloudsmith.io/public/caddy/stable/gpg.key"
@ -16,3 +17,19 @@
apt:
name: caddy
state: present
- name: Copy over Caddyfile
copy:
src: Caddyfile
dest: '/etc/caddy/Caddyfile'
owner: root
group: root
mode: '644'
notify: reload-caddy
- name: Ensure Caddy service is running & enabled
service:
name: caddy
state: started
enabled: true