diff --git a/roles/consul/tasks/server.yml b/roles/consul/tasks/server.yml index ff45d30..005786c 100644 --- a/roles/consul/tasks/server.yml +++ b/roles/consul/tasks/server.yml @@ -14,7 +14,6 @@ - -server - -data-dir=/consul/data - -bootstrap-expect=1 - - "-bind={{ ansible_wg0.ipv4.address }}" - - "-client={{ ansible_wg0.ipv4.address }}" + - "-bind={{ consul_client_bind_ip }}" volumes: - consul:/consul/data