deploy_haproxy/defaults/main.yml

35 lines
890 B
YAML
Raw Normal View History

2024-01-29 17:53:50 +00:00
---
# defaults file for deploy_haproxy
deploy_haproxy_deploy_method: host # deployment method, either host or docker
deploy_haproxy_version: latest
# Options from the "default" config block in haproxy.cfg
# The default values here are usually set, but you can change any of them.
deploy_haproxy_global:
- log /dev/log local0
- log /dev/log local1 notice
- stats socket {{ deploy_haproxy_socket }} level admin
- chroot {{ deploy_haproxy_chroot }}
- user {{ deploy_haproxy_user }}
- group {{ deploy_haproxy_group }}
- daemon
deploy_haproxy_defaults:
- log global
- mode http
- option httplog
- option dontlognull
- timeout connect 5000
- timeout client 5000
- timeout server 5000
deploy_haproxy_frontend:
- name: default
options:
- mode http
- bind :80
- default_backend default
deploy_haproxy_backend: []
deploy_haproxy_listen: []