aboutsummaryrefslogtreecommitdiff
path: root/roles/ddclient/templates
diff options
context:
space:
mode:
authorKumar <kumar@kumardamani.xyz>2021-11-23 14:59:08 +0000
committerKumar Damani <me@kumardamani.net>2022-03-25 19:45:25 +0000
commita857eb82ec9c4a79ad5e41462e2ab82c2660982e (patch)
tree9ca51ddfb551322bd4d2fa3f949fa8898032632d /roles/ddclient/templates
initial commit
Diffstat (limited to 'roles/ddclient/templates')
-rw-r--r--roles/ddclient/templates/ddclient.conf.j29
1 files changed, 9 insertions, 0 deletions
diff --git a/roles/ddclient/templates/ddclient.conf.j2 b/roles/ddclient/templates/ddclient.conf.j2
new file mode 100644
index 0000000..99dab47
--- /dev/null
+++ b/roles/ddclient/templates/ddclient.conf.j2
@@ -0,0 +1,9 @@
+# {{ ansible_managed }}
+#
+# /etc/ddclient.conf
+
+protocol={{ ddclient_proto }} \
+use=web, web=https://freedns.afraid.org/dynamic/check.php \
+login={{ ddclient_user }} \
+password='{{ ddclient_password }}' \
+{{ ddclient_domain }}