Code Monkey home page Code Monkey logo

ansible-openprovider-zone's Introduction

Openprovider Zone Update

An Ansible role to update OpenProvider hosted DNS zones.

Note that OpenProvider only allows you to update/publish the following record-types via this api: A, AAAA, CNAME, MX, SPF, SRV, TXT, TLSA, SSHFP, CAA. In the documentation it states that 'NS' records can be used if contacting support first.

Requirements

Openprovider.eu API account, username and password or password-hash.

Role Variables

openprovider_username: "your_openprovider_username" openprovider_password: "your_password, but not needed if you use the hash" openprovider_pwhash: "your password hash for the webapi" openprovider_api: https://api.openprovider.eu openprovider_default_ttl: "3600"

openprovider_zones: The zones (split out into zonename and tld, and the dict of records.

Example:

testingzone_tld_records:

  • { name: "www", type: "A", value: "192.0.2.80" }
  • { name: "www", type: "AAAA", value: "2001:DB8::80" }
  • { name: "", type: "A", value: "192.0.2.100" }

otherzone_com_records:

  • { name: "www", type: "A", value: "192.0.2.80" }
  • { name: "www", type: "AAAA", value: "2001:DB8::80" }

openprovider_zones:

  • { zonename: "testingzone", zoneext: "tld", records: "{{testingzone_tld_records}}" }
  • { zonename: "otherzone", zoneext: "com", records: "{{otherzone_com_records}}" }

Dependencies

None

Example Playbook

- hosts: localhost
  roles:
     - { role: sigio.openprovider-zone }

License

MIT

Author Information

Mark Janssen [email protected] Sig-I/O Automatisering

ansible-openprovider-zone's People

Contributors

sigio avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

ansible-openprovider-zone's Issues

LICENSE file missing

I'm looking for the LICENSE file. The README states that this code is BSD licensed, but which BSD license exactly?
Personally I like the GPL(v3 currently) and want to make some contributions or fork, hence my questions ;-)

pwhash removed from authentication (for XML API)

openprovider changed authentication on their API end (I have verified this with their support team).

The password hash (API hash) will not work for authentication anymore. For XML API (which you are using), you have to use the username/password combination. If using the REST API, you need to use a bearer token and use that for further API calls.

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.