ansible_modules icon indicating copy to clipboard operation
ansible_modules copied to clipboard

[Bug]: Unable to filter obects by IDs

Open drobnymichal opened this issue 1 year ago • 0 comments

Ansible NetBox Collection version

v3.10.0

Ansible version

<!--- Paste verbatim output from "ansible --version" between quotes -->
ansible [core 2.15.3]
  config file = /home/drobny/projects/gitlab/ics/diti/dts/networks/ansible.cfg
  configured module search path = ['/home/drobny/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/local/lib/python3.10/dist-packages/ansible
  ansible collection location = /home/drobny/projects/gitlab/ics/diti/dts/networks/ansible_collections
  executable location = /usr/local/bin/ansible
  python version = 3.10.12 (main, Nov 20 2023, 15:14:05) [GCC 11.4.0] (/usr/bin/python3)
  jinja version = 3.1.2
  libyaml = True

NetBox version

v3.6.5

Python version

3.9

Steps to Reproduce

I am using the lookup to obtain multipl ip-addresses by specifying theirs IDs.

api_filter="id=5 id=20 id=33"

The result contains only first IP. (id=5)

Expected Behavior

The lookup should return all ip-addresses specified in the api_filter.

Observed Behavior

The lookup returns only first address.

drobnymichal avatar Nov 30 '23 19:11 drobnymichal