Install newest Caddy version with role nvjacobo.caddy and update template and pre-generated certs

This commit will also allow Caddy to properly generate certs
with longer lifetimes than 12 hours, and by default it has been set to 1
month
This commit is contained in:
Santeri Kainulainen 2025-12-09 15:33:36 +02:00
parent 733c3ed250
commit a2cdabb464
8 changed files with 37 additions and 35 deletions

View file

@ -1,8 +1,3 @@
- name: Ensure Caddy is installed
ansible.builtin.package:
name: caddy
state: present
- name: Create Caddy configuration directory
become: yes
ansible.builtin.file: