diff --git a/group_vars/safouene b/group_vars/safouene index 89548b3..689a202 100644 --- a/group_vars/safouene +++ b/group_vars/safouene @@ -10,11 +10,6 @@ users: haproxy_local_config_path: "reverse-proxy/haproxy.cfg.j2" haproxy_list_tls: - 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: frontends: @@ -27,6 +22,12 @@ haproxy: - "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][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