From 4d4ebe722300b221b75959ba7c2cc64b553aa873 Mon Sep 17 00:00:00 2001 From: Nathan McKinley Date: Tue, 19 Nov 2019 02:39:41 +0000 Subject: [PATCH] Don't require 'trigger_template' since it conflicts with 'github' in beta. Signed-off-by: Modular Magician --- plugins/modules/gcp_cloudbuild_trigger.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/plugins/modules/gcp_cloudbuild_trigger.py b/plugins/modules/gcp_cloudbuild_trigger.py index c0a7a8d..75207b8 100644 --- a/plugins/modules/gcp_cloudbuild_trigger.py +++ b/plugins/modules/gcp_cloudbuild_trigger.py @@ -109,7 +109,7 @@ options: - Branch and tag names in trigger templates are interpreted as regular expressions. Any branch or tag change that matches that regular expression will trigger a build. - required: true + required: false type: dict suboptions: project_id: @@ -648,7 +648,6 @@ def main(): ignored_files=dict(type='list', elements='str'), included_files=dict(type='list', elements='str'), trigger_template=dict( - required=True, type='dict', options=dict( project_id=dict(type='str'),