From 8bfa5800054b80d77e7d63bf4fb9f455aeda7ffd Mon Sep 17 00:00:00 2001 From: The Magician Date: Thu, 27 Jun 2019 17:23:07 -0700 Subject: [PATCH] `kubectlpath` is mistakenly required true (#293) Signed-off-by: Modular Magician --- plugins/modules/gcp_container_cluster.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/modules/gcp_container_cluster.py b/plugins/modules/gcp_container_cluster.py index 2371d69..9ca8ad1 100644 --- a/plugins/modules/gcp_container_cluster.py +++ b/plugins/modules/gcp_container_cluster.py @@ -53,7 +53,7 @@ options: - The file will not be created if this path is unset. - Any existing file at this path will be completely overwritten. - This requires the PyYaml library. - required: true + required: false version_added: 2.9 kubectl_context: description: @@ -973,7 +973,7 @@ def main(): module = GcpModule( argument_spec=dict( state=dict(default='present', choices=['present', 'absent'], type='str'), - kubectl_path=dict(required=True, type='str'), + kubectl_path=dict(type='str'), kubectl_context=dict(type='str'), name=dict(type='str'), description=dict(type='str'),