Commit graph

9 commits

Author SHA1 Message Date
388a1d8cfc
Separate caddy container id grabbing into own role
Since other roles often rely on this not an actual new caddy server
installation we should probably have it as its own little role.
2023-12-08 20:35:51 +01:00
7d8408f9f8
Change become arguments to boolean
Changed all 'become: ' values from 'yes' to 'true' to satisfy the schema
(and also make the lsp shut up).
2022-12-18 16:02:32 +01:00
f4864c5da3
Fix caddy container info delay
Give more time to docker to correctly bring up caddy in the swarm.
Extended delay to retry to 10 seconds and gave it more retries as well,
so that roughly a minute will be gone before the play gives up.
2021-10-20 17:33:35 +02:00
37bd1ed2cd
Fix caddy role tasks changed recognition 2021-07-31 17:56:54 +02:00
79c704c1f9
Switch caddy to use json configuration 2021-07-31 17:26:06 +02:00
bebdf72b19
Ease caddy stack variable setup 2021-07-30 23:25:47 +02:00
95832941c0
Ensure stacks can inject their upstream to caddy
Created bind volume for caddy which takes the json fragments which will
later be injected through the caddy api to dynamically set their
individual reverse proxy addresses.

This is not entirely necessary if the injection should be done as a
variable instead, but makes it easier to change routes and especially
more complicated ones (I'm thinking of gitea with ssh access e.g.).
2021-07-30 11:10:05 +02:00
6de8f0fb50
Add testing inventory and group variables
Added fully test-ready inventory and groups using vagrant and able to
run repeatedly as necessary.
2021-07-29 15:11:28 +02:00
9f188c2674
Add basic caddy swarm role
Added caddy as swarm container. Uses templated Caddyfile which can be
set up for testing purposes for now.
Depends on docker and docker-swarm, and will keep its stuff where
docker-swarm sets itself up.
2021-07-29 14:39:43 +02:00