deploy_haproxy/molecule/with_tls_enabled_vagrant/group_vars/all.yml
Bertrand Lanson 5cb7df716a
All checks were successful
test / Linting (push) Successful in 35s
test / Molecule tests (default, ubuntu2004) (push) Successful in 1m34s
test / Molecule tests (default, debian12) (push) Successful in 1m53s
test / Molecule tests (default, debian11) (push) Successful in 2m0s
test / Molecule tests (default, ubuntu2204) (push) Successful in 1m36s
test / Molecule tests (with_tls_enabled, debian12) (push) Successful in 1m37s
test / Molecule tests (with_tls_enabled, debian11) (push) Successful in 1m38s
test / Molecule tests (with_tls_enabled, ubuntu2004) (push) Successful in 1m36s
test / Molecule tests (with_tls_enabled, ubuntu2204) (push) Successful in 1m44s
feat(defaults): change default version to 2.8 to avoid test failures on debian 11
2024-02-04 00:17:07 +01:00

43 lines
1.2 KiB
YAML

---
deploy_haproxy_deploy_method: docker # deployment method, either host or docker
deploy_haproxy_version: "2.7"
deploy_haproxy_env_variables: {}
deploy_haproxy_start_service: true
deploy_haproxy_cert_dir: "/tmp/haproxy-cert"
deploy_haproxy_extra_container_volumes: []
deploy_haproxy_global:
- log stdout format raw daemon debug
- stats socket {{ deploy_haproxy_socket }} level admin
- chroot {{ deploy_haproxy_chroot }}
- daemon
- description hashistack haproxy
deploy_haproxy_defaults:
- log global
- mode http
- option httplog
- option dontlognull
- timeout connect 5000
- timeout client 5000
- timeout server 5000
deploy_haproxy_frontends: []
deploy_haproxy_backends: []
deploy_haproxy_listen:
- name: monitoring
options:
- bind :9000 ssl crt /var/lib/haproxy/certs/cert.pem
- mode http
- option httpchk
- stats enable
- stats uri /stats
- stats refresh 30s
- stats show-desc
- stats show-legends
- stats auth admin:password
- http-check send meth GET uri /health ver HTTP/1.1 hdr Host localhost
- http-check expect status 200
- acl health_check_ok nbsrv() ge 1
- monitor-uri /health
- http-request use-service prometheus-exporter if { path /metrics }