Skip to content

Commit 8ab1f6f

Browse files
Change validate_certs from bool to raw to allow user to pass in either bool or string for a private key (#212)
1 parent 40ceacc commit 8ab1f6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/module_utils/netbox_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@
300300
netbox_url=dict(type="str", required=True),
301301
netbox_token=dict(type="str", required=True, no_log=True),
302302
state=dict(required=False, default="present", choices=["present", "absent"]),
303-
validate_certs=dict(type="bool", default=True),
303+
validate_certs=dict(type="raw", default=True),
304304
)
305305

306306

0 commit comments

Comments
 (0)