ansible/changelogs/fragments/57591-speed-up-gcp-compute-dynamic-inventory.yaml
Strahinja Kustudic f6a0f9874d Improve speed of the gpc_compute dynamic inventory (#57591)
To get all instances gcp_compute made a call to the Google API for each
zone separately. Because of this if all zones needed to be queried
fetching hosts lasted 30+ seconds. Now the module will use a single
query that will return all the instances, so the execution should last
just a few seconds.

This commit also suppresses a warning from the google-auth library about
using user credentials because if an Ansible user wants to use user
credentials, there is no need to warn him about it.
2019-06-12 16:38:48 -04:00

3 lines
71 B
YAML

---
bugfixes:
- "gcp_compute - Speed up dynamic invetory up to 30x."