Commit graph

9 commits

Author SHA1 Message Date
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
54cbe97442
Restructure inventories 2021-07-29 11:42:21 +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