From de2aab1bb8f5ad77450f80e5febe68fa9b70ce03 Mon Sep 17 00:00:00 2001 From: Kazuhiro MUSASHI Date: Sun, 22 Nov 2020 23:09:37 +0900 Subject: [PATCH] Change the `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 01056a0..4d8fdb8 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.110", "192.168.10.101", "192.168.10.111", "192.168.10.115"]', + 'manager_hosts' => '["192.168.10.101", "192.168.10.251", "192.168.10.252"]', 'ipaddr' => ipaddr, 'dns' => dns }