From 2615bc1557d2fd19127f2beda5102d164dbfd432 Mon Sep 17 00:00:00 2001 From: Kris Lamoureux Date: Tue, 16 Mar 2021 00:19:49 -0400 Subject: [PATCH] Simplify ddclient template and enable SSL --- roles/base/templates/ddclient.conf.j2 | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/roles/base/templates/ddclient.conf.j2 b/roles/base/templates/ddclient.conf.j2 index 8a543a3..13e8ec4 100644 --- a/roles/base/templates/ddclient.conf.j2 +++ b/roles/base/templates/ddclient.conf.j2 @@ -3,16 +3,8 @@ # /etc/ddclient.conf {% for domain in ddclient %} -{% if domain.verbose is sameas true or domain.verbose is not defined %} -verbose=yes -{% else %} -verbose=no -{% endif %} -use=web, web={{ domain.web | default('dynamicdns.park-your-domain.com/getip')}} -protocol={{ domain.protocol | default('namecheap')}} -{% if domain.server is defined %} -server={{ domain.server }} -{% endif %} +protocol={{ domain.protocol | default('namecheap')}}, verbose=yes +ssl=yes, use=web, web={{ domain.web | default('https://dynamicdns.park-your-domain.com/getip')}} {% if domain.name is defined %} login={{ domain.name }} {% endif %}