Open evilhamsterman opened 8 months ago
I see this issue as well on infoblox.nios_modules v1.6.1.
I was able to successfully remove the host record after excluding the ipv4 details.
e.g.
- name: Delete ansible-test DNS record
infoblox.nios_modules.nios_host_record:
name: ansible-tests.example.com
state: absent
provider: "{{ nios_provider }}"
I was able to successfully remove the host record after excluding the ipv4 details.
e.g.
- name: Delete ansible-test DNS record infoblox.nios_modules.nios_host_record: name: ansible-tests.example.com state: absent provider: "{{ nios_provider }}"
How to you delete it? Even if i dont provide any ip details at all the ansible task is "ok".
How to you delete it? Even if i dont provide any ip details at all the ansible task is "ok".
If the host record in question was created with DNS disabled (configure_for_dns: false
, dns: false
, or Enable in DNS
unchecked in the GUI), you will need to include configure_for_dns: false
in the delete task.
e.g.
- name: Delete ansible-test DNS record
infoblox.nios_modules.nios_host_record:
name: ansible-tests.example.com
configure_for_dns: false
state: absent
provider: "{{ nios_provider }}"
Wow... but thank you that works!
Using infoblox.nios_modules 1.5.0
Create a host, (not using nios_next_ip because per #63 which has been open since 2019, it is not idempotent)
Create works successfully
Change the state to absent per docs
Task runs and does not indicate a change
Check Infoblox and the record still exists