Coder Social home page Coder Social logo

ansible-nsupdate's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

ansible-nsupdate's Issues

Contribute upstream ?

Hello
this is a nice module, in ansible we have many interesting modules to manage infrastructure. I recently ported omapi_host module from my corporate repository to ansible upstream repository and i miss a nsupdate module. I think i'm not alone to have this problem.

Is this possible you port the module to ansible/ansible repository ? Could be nice to have this module in future 2.3

Creating a PTR automatically

Your code works great, I just want to request a feature be added.

When I use nsupdate to create an A record, 99% of the time I want a PTR to go along with it.
Can you add an option in the module that will use the information given to create an A record to decide the appropriate reverse lookup zone to add a PTR to, and then add it.
I'd also want it to remove any such PTR if I set the state to "absent" anywhere I am creating an A record and setting the requested PTR option to "true".

I don't even know if this is possible, but thought I would ask.

This is my first "issue" here on github, so I am not certain I am doing this right. Apologies if I put this feature request in the wrong place.

Thanks for the great work!

PTR record type creates incorrect value

When I use the nsupdate module to create a PTR record, it always creates the record so the value of the record is <whatever_I_set>.<zone_name>.

Specific example:

  • name: Add PTR record
    nsupdate:
    server: "nsServer"
    zone: "10.in-addr.arpa."
    record: "102.100.1"
    value: "ansible-test.nsServer"
    type: PTR
    state: present

Creates the record as expected except 10.1.100.102.in-addr.arpa points to ansible-test.nsServer.10.in-addr.arpa. instead of ansible-test.nsServer.

Could you explain...?

Could you explain how can i implement it? I did a playbook like your example, adding a role, but ansible dont recognise the nsupdate.py in ../roles/nsupdate.. Could you explain a little bit, how can i implement it? thanks!

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.