homelab/roles/base/templates/ddclient.conf.j2

15 lines
396 B
Plaintext
Raw Normal View History

2021-02-28 07:26:21 +00:00
# Configuration file for ddclient managed by Ansible
#
# /etc/ddclient.conf
{% for domain in ddclient %}
protocol={{ domain.protocol | default('namecheap')}}, verbose=yes
ssl=yes, use=web, web={{ domain.web | default('https://dynamicdns.park-your-domain.com/getip')}}
2021-03-16 02:24:23 +00:00
{% if domain.name is defined %}
login={{ domain.name }}
2021-03-16 02:24:23 +00:00
{% endif %}
password={{ domain.pass }}
{{ domain.host }}
{% endfor %}