feat(config): dont set external-ip if it matches node-ip

!17
This commit is contained in:
2024-02-02 14:08:39 +09:30
parent efba1ff6c7
commit b43e1dbb80

View File

@ -182,7 +182,11 @@
{%- if host_external_ip | default('') -%}
{%- if
host_external_ip is defined
and
ansible_default_ipv4.address != host_external_ip
-%}
{%- set all_nodes_config = all_nodes_config | combine({
"node-external-ip": host_external_ip,