From 485affeb1243828320a01d8cf69055eeae3e7153 Mon Sep 17 00:00:00 2001 From: John R Barker Date: Wed, 5 Apr 2017 16:37:40 +0100 Subject: [PATCH] eapi & nxapi: Document validate_certs (#23305) * Document validate_certs for eapu & nxapi * formatting --- lib/ansible/utils/module_docs_fragments/eos.py | 6 ++++++ lib/ansible/utils/module_docs_fragments/nxos.py | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/lib/ansible/utils/module_docs_fragments/eos.py b/lib/ansible/utils/module_docs_fragments/eos.py index 0955353fb0a..f8d66b7394b 100644 --- a/lib/ansible/utils/module_docs_fragments/eos.py +++ b/lib/ansible/utils/module_docs_fragments/eos.py @@ -114,6 +114,12 @@ options: argument is not eapi, this value is ignored. default: yes choices: ['yes', 'no'] + validate_certs: + description: + - If C(no), SSL certificates will not be validated. This should only be used + on personally controlled sites using self-signed certificates. If the transport + argument is not eapi, this value is ignored. + choices: ['yes', 'no'] """ diff --git a/lib/ansible/utils/module_docs_fragments/nxos.py b/lib/ansible/utils/module_docs_fragments/nxos.py index 3af34698c22..8c8daca338c 100644 --- a/lib/ansible/utils/module_docs_fragments/nxos.py +++ b/lib/ansible/utils/module_docs_fragments/nxos.py @@ -82,6 +82,12 @@ options: required: false default: no choices: ['yes', 'no'] + validate_certs: + description: + - If C(no), SSL certificates will not be validated. This should only be used + on personally controlled sites using self-signed certificates. If the transport + argument is not nxapi, this value is ignored. + choices: ['yes', 'no'] provider: description: - Convenience method that allows all I(nxos) arguments to be passed as