You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Ansible Lint |Total|New|Outstanding|Fixed|Trend
|:-:|:-:|:-:|:-:|:-:
|2777|524|2253|2462|:+1:
Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/223//ansiblelint">Evolix » ansible-roles » unstable #223</a>
Details
gitea/ansible-roles/pipeline/head This commit looks good
Details
Fully Qualified Collection Name |
2 months ago | |
---|---|---|
.. | ||
defaults | 11 months ago | |
handlers | 2 months ago | |
meta | 2 years ago | |
tasks | 2 months ago | |
templates | 5 months ago | |
tests | 6 years ago | |
vars | 5 years ago | |
.kitchen.yml | 6 years ago | |
README.md | 5 years ago |
README.md
haproxy
Install HAProxy.
Tasks
Everything is in the tasks/main.yml
file.
Available variables
haproxy_backports
: We can either prefer v1.7 from backports for Debian Jessie or v1.8 for Debian Stretch (default:False
)
Configuration templates
The roles compiles a haproxy.cfg
file based on templates that are looked up in that order :
{{ playbook_dir}}/templates/haproxy/haproxy.{{ inventory_hostname}}.cfg.j2
{{ playbook_dir}}/templates/haproxy/haproxy.{{ host_group}}.cfg.j2
(NB :host_group
is not a core variable, it must be defined ingroup_vars
files.){{ playbook_dir}}/templates/haproxy/haproxy.default.cfg.j2
If nothing is found, the role falls back to the template embedded in the role : templates/haproxy.default.cfg.j2