From dfd1077bc753ab3e0a6d857d9ff1ed4d92859054 Mon Sep 17 00:00:00 2001 From: Joe Wesch Date: Wed, 8 Jan 2025 16:00:56 +0000 Subject: [PATCH] Adds env fallback for validate_certs --- plugins/module_utils/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/module_utils/utils.py b/plugins/module_utils/utils.py index b9f9c8a3..532055bd 100644 --- a/plugins/module_utils/utils.py +++ b/plugins/module_utils/utils.py @@ -539,7 +539,7 @@ token=dict(type="str", required=True, no_log=True, fallback=(env_fallback, ["NAUTOBOT_TOKEN"])), state=dict(required=False, default="present", choices=["present", "absent"]), query_params=dict(required=False, type="list", elements="str"), - validate_certs=dict(type="raw", default=True), + validate_certs=dict(type="raw", default=True, fallback=(env_fallback, ["NAUTOBOT_VALIDATE_CERTS"])), api_version=dict(type="str", required=False), )