ansible-collections / azure

Development area for Azure Collections
https://galaxy.ansible.com/azure/azcollection
GNU General Public License v3.0
238 stars 317 forks source link

Azure RM Inventory plugin does not return all hosts all the time #1614

Open amitsharma-31 opened 6 days ago

amitsharma-31 commented 6 days ago
SUMMARY

Syncing an Ansible inventory using the Azure RM Inventory plugin does not return all hosts all the time. We sync our inventory on a schedule, but sometimes it barely returns any hosts. For example last time it only captured 10 out of some 150+ hosts. Next run was again able to list all 150+ hosts

ISSUE TYPE
COMPONENT NAME

azure.azcollection.azure_rm (azure inventory plugin)

ANSIBLE VERSION
ansible [core 2.15.9]
  config file = ~/.ansible.cfg
  configured module search path = ['~/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = ~/.venv/lib64/python3.9/site-packages/ansible
  ansible collection location = ~/.ansible/collections:/usr/share/ansible/collections
  executable location = ~/.venv/bin/ansible
  python version = 3.9.19 (main, May 16 2024, 08:45:40) [GCC 8.5.0 20210514 (Red Hat 8.5.0-22)] (~/.venv/bin/python3.9)
  jinja version = 3.1.2
  libyaml = True
COLLECTION VERSION
azure.azcollection             2.2.0