Giter Site home page Giter Site logo

ansible-role-ddclient's Introduction

Ansible Role: DDClient

Travis-CI
Build Status

Installs DDClient from Wimpunk's Github Repo, and then configure's the ddclient.conf file.

Requirements

CPANM will be installed, along with Perl and libio-socket-ssl-perl

Role Variables

Each line under ddclient_conf will be placed in /etc/ddclient/ddclient.conf as-is. The name field will enter the configuration file after a # character. I added this distinction in case you had multiple addresses you configured using DDClient.

ddclient_conf:
  - name: DynDNS2
    protocol: dyndns2
    use: web
    login: [email protected]
    password: password
    server: domains.google.com
  - name: Other
    protocol: other
    ...

This is an example configuration file:

# Ansible managed: Modified on 01/01/2019 by your_ansible_user on your_ansible_machine

# DynDNS2
protocol=dyndns2
ssl=yes
use=web
[email protected]
password=password
zone=domains.google.com

Example Playbook

    - hosts: ddclient
      become: true

      vars:
        ddclient_conf:
          - name: DynDNS2
            protocol: dyndns2
            use: web
            server: domains.google.com
            ddclient_cpan_install:
              - "Data::Validate::IP"
              - "IO::Socket::SSL"
              - "IO::Socket::INET6" # This one can be left out since it requries IPv6
              - "JSON::PP"

      roles:
         - jpartain89.ddclient

License

GPLv2

Author Information

JPCDI, JPartain89 and Justin Partain

ansible-role-ddclient's People

Contributors

jpartain89 avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.