Commit graph

4 commits

Author SHA1 Message Date
Bob Lee
88743d11ae Update documentation for gcp_compute (#43791)
Added examples on how to use "keyed_groups", "hostnames", and "compose"

The compose example shows how to set the ansible_host var for a host to either the public or private ip. This is necessary when you set your hostname by name instead of ip
2019-09-12 11:02:33 -07:00
Brian Coca
e6c4e94687 added required missing field for common yaml fmt 2019-09-12 11:02:33 -07:00
Alex Stephen
03cdff340d GCP Inventory Plugin scopes fix 2019-09-12 11:02:33 -07:00
Alex Stephen
1519f8c652 GCP Inventory Plugin (#36884)
* Inventory

* Adding multi project support

* Adding multi project support

* Fixing PR comments and cleaning code

* Adding cache support
* Changed filter notation

* Inventory changes

* Better readability for zones, networks, subnetworks
* Added project to inventory output
* Using IP instead of hostname
* Keyed_groups support
* Use all zones when none provided.

* PR changes

* Doc changes
* Accepts *gcp_compute.yaml file names
* Added support for changing host naming precedent

* PR changes round 2

* Cache changes
* Changed verify_file function
* Misc style changes

* Cache fixes

* Fix docs for `hostnames` option.
2019-09-12 11:02:33 -07:00