forked from devops-coop/ansible-haproxy
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Juergen WAIBEL
committed
Nov 2, 2015
1 parent
c35fd33
commit a5f8887
Showing
9 changed files
with
70 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
+{% if haproxy_web_stats is defined %} | ||
+listen stats *:{{ haproxy_web_stats.port | default(1936) }} | ||
+ mode http | ||
+ stats realm Haproxy\ Statistics | ||
+{% if haproxy_web_stats.enabled is defined and haproxy_web_stats.enabled == true %} | ||
+ stats enable | ||
+{% endif -%} | ||
+{% if haproxy_web_stats.hide_version is defined and haproxy_web_stats.hide_version == true %} | ||
+ stats hide-version | ||
+{% endif -%} | ||
+{% if haproxy_web_stats.uri is defined %} | ||
+ stats uri {{ haproxy_web_stats.uri }} | ||
+{% endif -%} | ||
+{% if haproxy_web_stats.realm is defined %} | ||
+ stats realm {{ haproxy_web_stats.realm }} | ||
+{% endif -%} | ||
+{% if haproxy_web_stats.auth is defined %} | ||
+ stats auth {{ haproxy_web_stats.auth }} | ||
+{% endif -%} | ||
+{% if haproxy_web_stats.refresh is defined %} | ||
+ stats refresh {{ haproxy_web_stats.refresh }} | ||
+{% endif -%} | ||
+{% endif %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters