haproxy_config_vars
This commit is contained in:
parent
f0095830be
commit
57ecfe1c42
@ -20,12 +20,13 @@ haproxy:
|
|||||||
mode: tcp
|
mode: tcp
|
||||||
haproxy_ips:
|
haproxy_ips:
|
||||||
- ip: "{{ hostvars[inventory_hostname].ansible_host }}:80"
|
- ip: "{{ hostvars[inventory_hostname].ansible_host }}:80"
|
||||||
tls: "no"
|
tls: no
|
||||||
- ip: "192.168.10.10:443"
|
- ip: "{{ hostvars[inventory_hostname].ansible_host }}:443"
|
||||||
tls: "yes"
|
tls: yes
|
||||||
|
|
||||||
backends:
|
backends:
|
||||||
- name: "{{ k8s_backend_name }}"
|
- name: "{{ k8s_backend_name }}"
|
||||||
frontend: "{{ k8s_frontend_name }}"
|
frontend: "safouene-felcloud.io"
|
||||||
mode: tcp
|
mode: tcp
|
||||||
servers:
|
servers:
|
||||||
- "server {{ groups[group][0] }} {{ hostvars[groups[group][0]].ansible_host }}:{{ NodePort }} check"
|
- "server {{ groups[group][0] }} {{ hostvars[groups[group][0]].ansible_host }}:{{ NodePort }} check"
|
||||||
|
Loading…
Reference in New Issue
Block a user