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

23 lines
557 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 %}
{% 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')}}
2021-03-16 02:24:23 +00:00
{% if domain.server is defined %}
server={{ domain.server }}
{% endif %}
{% if domain.name is defined %}
login={{ domain.name }}
2021-03-16 02:24:23 +00:00
{% endif %}
password={{ domain.pass }}
{{ domain.host }}
{% endfor %}