Ansible role to install and configure ddclient.
Tested on debian buster.
None.
ddclient_daemon_period
: Period to check the external IP in seconds.ddclient_enable_syslog
: Enable ddclient syslog, 'yes' or 'no'.ddclient_web
: Web URL to get the external IP.ddclient_protocol
: DDclient protocol. Check ddclient-wiki.ddclient_server
: Server to send the updates to, depends on the protocol.ddclient_login
: Your user to login to that server.ddclient_pass
: Your password to login to that server.ddclient_updated_domain
: Domain to update.
Note: You should define at least all the variables that don't have a default value in defaults/main.yml.
None.
- name: Deploy ddclient
hosts: all
roles:
- role: ddclient
ddclient_web: dynamicdns.park-your-domain.com/getip
ddclient_protocol: freedns
ddclient_server: freedns.afraid.org
ddclient_login: user
ddclient_pass: pass
ddclient_updated_domain: somedomain.mooo.com
To test the project you need molecule .
molecule test
GPLv3
- m0wer: m0wer (at) autistici (dot) org