Are you interested in our Early Access Program (EAP)? This program allows you to preview code, test in your lab and provide feedback prior to General Availability (GA) release of all Infoblox products. If so, please click the link here.

API & Integration, DevOps,NetOps,SecOps

Reply

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

Member
Posts: 5
453     0

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?

Member
Posts: 5
454     0

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: 15
454     0

Thanks for sharing the solution. Cheers!

Showing results for 
Search instead for 
Did you mean: 

Recommended for You