Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds tlsUseSystemCA parameter, default True for now but should probab… #635

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions plugins/doc_fragments/ssl_options.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,13 @@ class ModuleDocFragment(object):
type: str
aliases:
- tlsCertificateKeyFilePassword
tls_use_system_ca:
description:
- Use the system-wide CA certificate store.
type: bool
default: true
aliases:
- tlsUseSystemCA
auth_mechanism:
description:
- Authentication type.
Expand Down
1 change: 1 addition & 0 deletions plugins/module_utils/mongodb_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ def mongodb_common_argument_spec(ssl_options=True):
ssl_certfile=dict(type='str', default=None, aliases=['tlsCertificateKeyFile']),
ssl_keyfile=dict(type='str', default=None, no_log=True),
ssl_pem_passphrase=dict(type='str', default=None, no_log=True, aliases=['tlsCertificateKeyFilePassword']),
tls_use_system_ca=dict(type='bool', required=False, default=True, aliases=['tlsUseSystemCA']),
auth_mechanism=dict(type='str',
required=False,
default=None,
Expand Down
Loading