- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Ansible infoblox.nios_modules.nios_lookup limit of 1,000 records?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2023 01:35 PM
I am using the infoblox.nios_modules.nios_lookup module to get all host records or all A records but both plays only return 1,000 items. I can not find anything about specifying a page size. Where is this limit being imposed and is there a way to over-ride it?
I am using this:
- name: "fetch all A records" ansible.builtin.set_fact: a_records: "{{ lookup('infoblox.nios_modules.nios_lookup', 'record:a', provider=nios_provider) }}"
Solved! Go to Solution.
Re: Ansible infoblox.nios_modules.nios_lookup limit of 1,000 records?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2023 03:04 PM
I found it. I needed to add the "max_results" variable to my providor or set "INFOBLOX_MAX_RESULTS" as an environmental variable.
Re: Ansible infoblox.nios_modules.nios_lookup limit of 1,000 records?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2023 05:46 AM
Thanks for sharing the solution. Cheers!