From 06cb30ffa5d0bd9336a00e12ce7c0ca4b301ec02 Mon Sep 17 00:00:00 2001 From: Dominic Kim Date: Wed, 31 May 2023 07:42:38 +0900 Subject: [PATCH] Enable multiple controllers --- ansible/environments/local/hosts.j2.ini | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ansible/environments/local/hosts.j2.ini b/ansible/environments/local/hosts.j2.ini index 26fce32d8b5..b689675a7fd 100644 --- a/ansible/environments/local/hosts.j2.ini +++ b/ansible/environments/local/hosts.j2.ini @@ -8,9 +8,9 @@ ansible ansible_connection=local [controllers] controller0 ansible_host=172.17.0.1 ansible_connection=local -;{% if mode is defined and 'HA' in mode %} -;controller1 ansible_host=172.17.0.1 ansible_connection=local -;{% endif %} +{% if mode is defined and 'HA' in mode %} +controller1 ansible_host=172.17.0.1 ansible_connection=local +{% endif %} [kafkas] kafka0 ansible_host=172.17.0.1 ansible_connection=local