Commit graph

6 commits

Author SHA1 Message Date
Ids van der Molen
1e25d0e889 gcp_compute: Add vars_prefix to prefix host_vars (#49601)
* Add vars_prefix to prefix host_vars

* Set vars_prefix default to empty string
2019-09-12 11:02:33 -07:00
Sloane Hertel
673c7cd803 add more consistent extension matching for inventory plugins (#46786)
* Add consistent extension matching for inventory plugins that support YAML configuration files

* Document extension matching expectations
2019-09-12 11:02:33 -07:00
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