From 977648f95e10d1772800be2255ab76aada99e995 Mon Sep 17 00:00:00 2001 From: Kazuhiro MUSASHI Date: Mon, 15 Jul 2024 18:45:25 +0900 Subject: [PATCH] Change `consul` server IP addresses. --- cookbooks/consul/attributes.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cookbooks/consul/attributes.rb b/cookbooks/consul/attributes.rb index 9d791ae..14560dd 100644 --- a/cookbooks/consul/attributes.rb +++ b/cookbooks/consul/attributes.rb @@ -19,7 +19,7 @@ dns = run_command(cmd).stdout.chomp node.reverse_merge!({ 'consul' => { 'manager' => false, - 'manager_hosts' => '"192.168.10.101", "192.168.10.251", "192.168.10.252", "192.168.10.253"', + 'manager_hosts' => '"192.168.10.102", "192.168.10.251", "192.168.10.252", "192.168.10.253"', 'ipaddr' => ipaddr, 'dns' => dns, 'encrypt' => 's2T3XUTb9MjHYOw8I820O5YkN2G6eJrjLjJRTnEAKoM=',