Introducing SOC Insights for BloxOne Threat Defense: Boost your SOC efficiency with AI-driven insights to eliminate manual work and accelerate investigation and response times. Read the blog announcement here.

API & Integration, DevOps,NetOps,SecOps

Reply

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

New Member
Posts: 5
902     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?

New Member
Posts: 5
903     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: 17
903     0

Thanks for sharing the solution. Cheers!

Showing results for 
Search instead for 
Did you mean: 

Recommended for You