Caddy Ansible modules

Hello, I thought this Ansible collection might be useful for those using Caddy and Ansible.

I’m not the author of it but as I saw some old topic from @skyfaller asking for Caddy ansible modules I thought it might be worth posting here, unfortunately I couldn’t reply to that old topic since it’s locked (Ansible module for Caddy v2?)

Roles

Role Description
caddy_server Install the caddy server on your hosts.

Modules

Module Description
caddy_load Load a new config into Caddy
caddy_config_info Retrieve Caddys current configuration for a given path
caddy_config Create or update Caddys configuration for a given path

https://galaxy.ansible.com/maxhoesel/caddy

4 Likes

Neat! I’ve linked to it from that old topic so searchers can find their way here. Thanks for sharing!

1 Like

This topic was automatically closed after 60 days. New replies are no longer allowed.

I’d also like to share an Ansible role I’ve been working on recently which deploys Caddy in a Docker container: GitHub - dbrennand/ansible-role-caddy-docker: Ansible role to deploy Caddy in a Docker container.

I’m using it for my Homelab but thought it’s worth posting as others may find it helpful too :slight_smile:

1 Like