From 1ae7947067a56e74d2b08caf46395b507b14f1a8 Mon Sep 17 00:00:00 2001 From: Dana Hoffman Date: Wed, 18 Dec 2019 17:46:44 +0000 Subject: [PATCH] put ConflictsWith on blocks that changed from ExactlyOneOf to AtLeastOneOf Signed-off-by: Modular Magician --- plugins/modules/gcp_compute_firewall.py | 1 + plugins/modules/gcp_compute_health_check.py | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/plugins/modules/gcp_compute_firewall.py b/plugins/modules/gcp_compute_firewall.py index fff726c..a47606b 100644 --- a/plugins/modules/gcp_compute_firewall.py +++ b/plugins/modules/gcp_compute_firewall.py @@ -540,6 +540,7 @@ def main(): target_tags=dict(type='list', elements='str'), ), mutually_exclusive=[ + ['allowed', 'denied'], ['destination_ranges', 'source_ranges', 'source_tags'], ['destination_ranges', 'source_ranges'], ['source_service_accounts', 'source_tags', 'target_tags'], diff --git a/plugins/modules/gcp_compute_health_check.py b/plugins/modules/gcp_compute_health_check.py index b710295..2c04233 100644 --- a/plugins/modules/gcp_compute_health_check.py +++ b/plugins/modules/gcp_compute_health_check.py @@ -895,7 +895,8 @@ def main(): port_specification=dict(type='str'), ), ), - ) + ), + mutually_exclusive=[['http2_health_check', 'http_health_check', 'https_health_check', 'ssl_health_check', 'tcp_health_check']], ) if not module.params['scopes']: