Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
ansible-public
Manage
Activity
Members
Plan
Redmine
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
system
ansible-public
Commits
0a043292
Commit
0a043292
authored
3 years ago
by
Antoine SCHILDKNECHT
Browse files
Options
Downloads
Patches
Plain Diff
Fix haproxy conf | refs
#32725
parent
0eb78674
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
roles/haproxy/defaults/main.yml
+28
-26
28 additions, 26 deletions
roles/haproxy/defaults/main.yml
with
28 additions
and
26 deletions
roles/haproxy/defaults/main.yml
+
28
−
26
View file @
0a043292
...
@@ -2,41 +2,43 @@
...
@@ -2,41 +2,43 @@
hap_packages
:
hap_packages
:
-
haproxy
-
haproxy
-
rsyslog
-
logrotate
hap_config
:
/etc/haproxy/haproxy.cfg
hap_config
:
/etc/haproxy/haproxy.cfg
hap_config_global
:
|2
hap_config_global
:
|2
log /dev/log local0 warning
log /dev/log local0 warning
log /dev/log local1 warning
log /dev/log local1 warning
chroot /var/lib/haproxy
chroot /var/lib/haproxy
stats socket /run/haproxy/admin.sock mode 664 level admin
stats socket /run/haproxy/admin.sock mode 664 level admin
stats timeout 30s
stats timeout 30s
user haproxy
user haproxy
group haproxy
group haproxy
daemon
daemon
hap_config_defaults
:
|2
hap_config_defaults
:
|2
log global
log global
mode tcp
mode tcp
balance leastconn
balance leastconn
retries 2
retries 2
timeout tunnel 30m
timeout tunnel 30m
timeout client 30m
timeout client 30m
timeout connect 5s
timeout connect 5s
timeout server 30m
timeout server 30m
timeout check 15s
timeout check 15s
option tcplog
option tcplog
option tcpka
option tcpka
option clitcpka
option clitcpka
option srvtcpka
option srvtcpka
hap_stats_enabled
:
false
hap_stats_enabled
:
false
hap_config_stats
:
|2
hap_config_stats
:
|2
bind :9000
bind :9000
mode http
mode http
stats enable
stats enable
stats uri /
stats uri /
stats auth admin:password
stats auth admin:password
hap_config_listen
:
hap_config_listen
:
-
name
:
pgsql-primary
-
name
:
pgsql-primary
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment