haproxy_vars_updated
This commit is contained in:
parent
70a77e4e9a
commit
82c539da03
@ -10,11 +10,6 @@ users:
|
|||||||
haproxy_local_config_path: "reverse-proxy/haproxy.cfg.j2"
|
haproxy_local_config_path: "reverse-proxy/haproxy.cfg.j2"
|
||||||
haproxy_list_tls:
|
haproxy_list_tls:
|
||||||
- wildcard.felcloud.io
|
- wildcard.felcloud.io
|
||||||
haproxy_nbproc: 1
|
|
||||||
haproxy_first_tls: "/etc/haproxy/tls/wildcard.felcloud.io.pem"
|
|
||||||
private_ips:
|
|
||||||
- "{{ hostvars[inventory_hostname].ansible_host }}"
|
|
||||||
port: 80
|
|
||||||
|
|
||||||
haproxy:
|
haproxy:
|
||||||
frontends:
|
frontends:
|
||||||
@ -27,6 +22,12 @@ haproxy:
|
|||||||
- "server {{ groups[group][0] }} {{ hostvars[groups[group][0]].ansible_host }}:{{ NodePort }} check"
|
- "server {{ groups[group][0] }} {{ hostvars[groups[group][0]].ansible_host }}:{{ NodePort }} check"
|
||||||
- "server {{ groups[group][1] }} {{ hostvars[groups[group][1]].ansible_host }}:{{ NodePort }} check"
|
- "server {{ groups[group][1] }} {{ hostvars[groups[group][1]].ansible_host }}:{{ NodePort }} check"
|
||||||
- "server {{ groups[group][2] }} {{ hostvars[groups[group][2]].ansible_host }}:{{ NodePort }} check"
|
- "server {{ groups[group][2] }} {{ hostvars[groups[group][2]].ansible_host }}:{{ NodePort }} check"
|
||||||
|
private_ips:
|
||||||
|
- "{{ hostvars[inventory_hostname].ansible_host }}"
|
||||||
|
port: 80
|
||||||
|
haproxy_nbproc: 1
|
||||||
|
haproxy_first_tls: "/etc/haproxy/tls/wildcard.felcloud.io.pem"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#vars
|
#vars
|
||||||
|
Loading…
Reference in New Issue
Block a user