Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
notable to delete the HOST and A - record in infoblox using ansible module (nios_host_record )
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-16-2021 12:43 PM
3327     0
nios_host_record
state: absent is not working in ansible.
getting the output as
ok: 1/1 [localhost] => {
"ipv4_host_delete_result": {
"changed": false,
"failed": false
}
}
ansible --version
ansible 2.9.0
python version = 3.6.8
Labels:
Re: notable to delete the HOST and A - record in infoblox using ansible module (nios_host_record )
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2021 09:30 PM
3328     0
Hi,
Could you also please share the playbook you are using?
Regards,
Krishna
Re: notable to delete the HOST and A - record in infoblox using ansible module (nios_host_record )
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2022 01:52 AM
3328     0
Unable to delete host records using below playbook
- name: Remove host record from infoblox nios_host_record: name: "{{ item }}.{{ vm_infoblox }}" state: absent provider: host: "{{ infoblox_endpoint }}" username: "{{ infoblox_username }}" password: "{{ infoblox_password }}" loop: "{{ vm_hostname }}" register: rec_deleted - debug: var: rec_deleted