infobloxopen / infoblox-ansible

Ansible modules for interfacing to Infoblox systems
GNU General Public License v3.0
54 stars 61 forks source link

Feature: add support for ddns_protect option in "nios_host_record" #197

Open tgoetheyn opened 10 months ago

tgoetheyn commented 10 months ago

Please add the option to enable ddns_protect on a hostrecord.

Could be something like this:

 - name: Create an IPv4 host record
      infoblox.nios_modules.nios_host_record:
        name: "{{ servername }}"
        ipv4:
          - address: "{{ ip }}"
        state: present
        **ddns_protected: true**
        provider:
          host: "{{ infoblox_host }}"
          username: "{{ infoblox_username }}"
          password: "{{ infoblox_password }}"
      when: dnsresult == "NXDOMAIN"