From ed6d0f4b8c7641aa08e79090565511c01adfca23 Mon Sep 17 00:00:00 2001 From: Lorenzo Tanganelli Date: Wed, 18 Sep 2024 09:34:44 +0200 Subject: [PATCH] fix validate certs --- plugins/module_utils/cloudstack.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/module_utils/cloudstack.py b/plugins/module_utils/cloudstack.py index 2b8a8bb..2637a5e 100644 --- a/plugins/module_utils/cloudstack.py +++ b/plugins/module_utils/cloudstack.py @@ -132,7 +132,7 @@ def get_api_config(self): 'api_timeout': int(api_config['timeout']), 'api_http_method': api_config['method'], 'api_verify_ssl_cert': api_config['verify'], - 'validate_certs': api_config['dangerous_no_tls_verify'], + 'validate_certs': not api_config['dangerous_no_tls_verify'], }) return api_config