duckdns
DuckDns w/Ansible
An Ansible role that installs DuckDns (https://www.duckdns.org) on Ubuntu machines via Ansible Galaxy.
Requirements
Any pre-requisites that may not be covered by Ansible itself or the role should be mentioned here. For instance, if the role uses the EC2 module, it may be a good idea to mention in this section that the boto package is required.
ansible.cfg
This role is designed to work with merge "hash_behaviour". Make sure your ansible.cfg contains these settings
[defaults]
hash_behaviour = merge
Role Variables
Available variables are listed below, along with default values (see defaults/main.yml
):
# defaults file for duckdns
duckdns_project_root: /etc/duckdns
duckdns_project_log: /var/log/duckdns
# DuckDNS local machine settings
duckdns_user: duckdns
duckdns_group: duckdns
# DuckDNS remote settings
duckdns_subdomain: your-duckdns-subdomain-name
duckdns_token: your-duckdns-token
# DuckDNS immediate update
duckdns_update_now: no
Dependencies
N/A
Example Playbook
Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:
- hosts: servers
roles:
- { role: rofrantz.duckdns }
License
MIT
Author Information
Francisc Ungureanu
Install
ansible-galaxy install rofrantz/ansible-role-duckdns
License
mit
Downloads
306
Owner