Using eth0 IP instead of 127.0.0.1

This commit is contained in:
Philippe Caseiro 2018-05-14 16:20:19 +02:00
parent dfbd242639
commit ed84a3566b
1 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,5 @@
%if %%getVar('activer_redis','non') == 'oui' and %%getVar('redisRole','Node') == 'Leader' %if %%getVar('activer_redis','non') == 'oui' and %%getVar('redisRole','Node') == 'Leader'
Leader:127.0.0.1:%%{redisPort}:master:: Leader:%%adresse_ip_eth0:%%{redisPort}:master::
%for %%node in %%getVar('rdClMember',[]) %for %%node in %%getVar('rdClMember',[])
%if %%node.rdClMemberRole == 'master' %if %%node.rdClMemberRole == 'master'
%%{node}:%%{node.rdClMemberIP}:%%{node.rdClMemberPort}:%%{node.rdClMemberRole}:: %%{node}:%%{node.rdClMemberIP}:%%{node.rdClMemberPort}:%%{node.rdClMemberRole}::