Commit graph

6 commits

Author SHA1 Message Date
c498b3ced8
Apply prettier formatting 2024-06-24 20:36:55 +02:00
6b4c4ccde4
Update dependencies to enable easy single-tag deployments
Previously every deployment (even just for a single tag, such as
`ansible-playbook site.yml --tags landingpage`) would have the caddy
deployment in its dependency.

That meant in effect whenever there was an updated caddy image, the role
would update it and we would lose all previous caddy configuration -
which in turn would necessitate a complete redeploymnet of all steps.
This is now not the case anymore.
2024-06-24 20:24:04 +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
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
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