From b34a2145dcb8352302a95aee589961002d4b7a1e Mon Sep 17 00:00:00 2001 From: Richard Gray Date: Wed, 28 Jun 2023 22:12:11 +1200 Subject: [PATCH] Add user/password support to the remote_servers template --- templates/remote_servers.j2 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/templates/remote_servers.j2 b/templates/remote_servers.j2 index 10e397b..c5f3678 100644 --- a/templates/remote_servers.j2 +++ b/templates/remote_servers.j2 @@ -14,6 +14,12 @@ {{ replica['host'] }} {{ replica['port'] | default(9000) }} +{% if replica['user'] is defined %} + {{ replica['user'] }} +{% endif %} +{% if replica['password'] is defined %} + {{ replica['password'] }} +{% endif %} {% if 'secure' in replica %} 1 {% endif %}