THE GAME HAS CHANGED

Introducing Infoblox Universal DDI ManagementTM

Watch the launch to discover the new era of management for critical network services. Watch Now

API & Integration, DevOps,NetOps,SecOps

Reply

Ansible infoblox.nios_modules.nios_lookup limit of 1,000 records?

New Member
Posts: 5
1617     2

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) }}"

Re: Ansible infoblox.nios_modules.nios_lookup limit of 1,000 records?

New Member
Posts: 5
1617     2

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?

Superuser
Posts: 17
1618     2

Thanks for sharing the solution. Cheers!

Showing results for 
Search instead for 
Did you mean: 

Recommended for You