From e6c4e94687e0bad2a223abafae1adbd013468af4 Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Thu, 5 Jul 2018 13:01:16 -0400 Subject: [PATCH] added required missing field for common yaml fmt --- plugins/inventory/gcp_compute.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plugins/inventory/gcp_compute.py b/plugins/inventory/gcp_compute.py index 7396c5f..af18bcf 100644 --- a/plugins/inventory/gcp_compute.py +++ b/plugins/inventory/gcp_compute.py @@ -18,6 +18,10 @@ DOCUMENTATION = ''' - Get inventory hosts from Google Cloud Platform GCE. - Uses a .gcp.yaml (or .gcp.yml) YAML configuration file. options: + plugin: + description: token that ensures this is a source file for the 'gcp_compute' plugin. + required: True + choices: ['gcp_compute'] zones: description: A list of regions in which to describe GCE instances. default: all zones available to a given project