[PROVISIONAL] caddy_gen
role will create and start a docker container with Caddy using the image wemakeservices/caddy-gen:latest
. This container will search for containers with
the container labels detailed in caddy-gen
's documentation to auto-generate its Caddy file.
Ansible 2.1 (because of docker_container
module)
docker
Python library (again needed by docker_container
). Example installation.
docker_socket
: Location of docker socket on host machine. Defaults to:/var/run/docker.sock
acme_storage
: Where ACME will be stored, the path will be created if not present. Defaults to:/etc/certs/acme
cert_storage
: Where Certs will be stored, the path will be created if not present. Defaults to:/etc/certs/ocsp
None.
- hosts: servers
roles:
- { role: panagiks.caddy_gen }
MIT