maxhoesel-ansible / ansible-collection-caddy

Ansible collection for the Caddy Weberver
https://caddyserver.com/
GNU General Public License v3.0
10 stars 7 forks source link

xcaddy / caddy-security #203

Open copolycube opened 3 months ago

copolycube commented 3 months ago

Hello, I currently use your role for installing caddy as it was the most straightforward way to configure and install caddy from ansible, but I as the requirement grew more complex I needed to change the caddy binary in order to use the security-caddy plugin to enable oauth with Caddy.

How would you achieve this (if possible) with your role ?

Thanks in advance for your help !

mspae commented 2 weeks ago

To use caddy modules you need to compile a custom version of caddy using something like xcaddy.

Since this role installs a pre-built caddy from the repositories I don't think this is possible.