Commit graph

63 commits

Author SHA1 Message Date
fbf930054f
Make sure curl is installed for the hacky reverse proxy 2021-07-30 00:46:06 +02:00
1b3c14b4ce
Implement very naive solution 2021-07-30 00:30:33 +02:00
351e1202b2
Fix Caddyfile template for undefined email 2021-07-29 17:04:33 +02:00
4b947a3112
Add api endpoint toggle variable to caddy role 2021-07-29 16:47:13 +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
453cd2fd2b
Add default variables to docker-swarm role
Variable `docker_stack_files_dir` can be used if other stack deployments
need to copy over configuration files or other extra files. Defaults to
`/stacks` but can be set to anything and other roles should take care to
respect this and put their files relative to it.

Variable `docker_swarm_public_network_name` can be used to set the name
of the network to be created that faces outwards (ingress network) and
to which all stacks will be connecting.
2021-07-29 13:32:46 +02:00
9e369e9adc
Add python modules required for docker stacks 2021-07-27 14:08:19 +02:00
b16ab5205c
Fix docker-swarm for multi-ip machines
Added variable docker_swarm_advertise_addr which can be set to the
advertise address swarm should use.

Mostly introduced for vagrant-based test setups for now, which contain
multiple IP addresses and fail otherwise.
2021-07-27 13:46:24 +02:00
7e99f97958
Add docker-swarm setup 2021-07-27 13:07:42 +02:00
578f8b7dbf
Fix docker python module installation for sudo 2021-07-27 12:54:32 +02:00
89453cd53b
Add docker installation role 2021-07-27 12:35:20 +02:00
1fe4c617db
Add system upgrade role
initial commit
2021-07-24 11:51:37 +02:00