haproxy_config_file

This commit is contained in:
safouenebg 2024-06-03 15:14:26 +00:00
parent 8b0e3073a8
commit f0095830be

View File

@ -19,11 +19,10 @@ haproxy:
- name: "{{ k8s_frontend_name }}"
mode: tcp
haproxy_ips:
- ip: "{{ hostvars[inventory_hostname].ansible_host }}"
ports:
- "80"
- "443"
- ip: "{{ hostvars[inventory_hostname].ansible_host }}:80"
tls: "no"
- ip: "192.168.10.10:443"
tls: "yes"
backends:
- name: "{{ k8s_backend_name }}"
frontend: "{{ k8s_frontend_name }}"