- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
How to reclaim or unreserve IP Address using Ansible?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2021 11:03 PM
Hi ,
Can somone help me in giving an insight on unreserve or reclaim IP address for infoblox using Ansible module?
Regards,
Vishal
Re: How to reclaim or unreserve IP Address using Ansible?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2021 12:07 PM
I would also like to know how to reclaim addresses using Ansible. Any help will be greatly appreciated.
Re: How to reclaim or unreserve IP Address using Ansible?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2021 07:23 AM
Hi,
If you would like to delete a fixed address, you can do so using the below playbook sample. The state parameter indicates that the mentioned fixed address needs to be reclaimed.
--- - hosts: localhost vars: nios_provider: host: grid-master username: admin password: pwd connection: local tasks: - name: delete ipv4 dhcp fixed address nios_fixed_address: name: ipv4_fixed ipaddr: 1.1.1.10 mac: 08:6d:41:e8:fd:e8 network: 1.1.1.0/24 network_view: default state: absent provider: "{{ nios_provider }}"
Thanks & Regards,
Krishna Vasudevan
Re: How to reclaim or unreserve IP Address using Ansible?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2021 12:18 PM
Hi Krishna,
Thank you for your response.
In situations where there are multiple record types (A, PTR, TXT) tied to an address, is there a playbook that can be run to clear all the records at once by reclaiming the IP address?
Re: How to reclaim or unreserve IP Address using Ansible?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2023 06:58 AM
I want to reclaim IP from Infoblox with ansible: It works fine with DHCP Fixed address. But I need to remove IP those are not having mac info with it.
I tried this module: