f29aa2da16
This makes the haproxy role more generic so we can run another (or potentially even more) haproxy instance(s) to manage other services. The config file is moved to a variable for the haproxy role. The gitea specific config is then installed for the gitea-lb service by a new gitea-lb role. statsd reporting is made optional with an argument. This enables/disables the service in the docker compose. Role documenation is updated. Needed-By: https://review.opendev.org/678159 Change-Id: I3506ebbed9dda17d910001e71b17a865eba4225d
7 lines
136 B
YAML
7 lines
136 B
YAML
- hosts: "gitea-lb:!disabled"
|
|
name: "Base: configure gitea load balancer"
|
|
roles:
|
|
- iptables
|
|
- install-docker
|
|
- gitea-lb
|