nautobot / nautobot-ansible

Ansible Collection for managing Nautobot Data
https://nautobot-ansible.readthedocs.io/en/latest/
GNU General Public License v3.0
48 stars 32 forks source link

Fixes converting list of strings to ID #422

Closed joewesch closed 2 months ago

joewesch commented 2 months ago

Closes: #421

If we are converting multiple items to ID and the input is a list of strings, instead of sending the query one item at a time (list_item) we were sending the full list of items each time (search):

https://github.com/nautobot/nautobot-ansible/blob/fa797c214cd9456423bb2910ec57236a36e9c717/plugins/module_utils/utils.py#L886-L889

joewesch commented 2 months ago

I have also bundled in the necessary change log information so we can quickly release this patch after merge.

joewesch commented 2 months ago

Full tests pass: https://github.com/nautobot/nautobot-ansible/actions/runs/10866056601