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

database secrets engine config #133

Merged
merged 23 commits into from
Jun 18, 2019
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
Next Next commit
default var causing doc job failure?
  • Loading branch information
drewmullen committed Jun 7, 2019
commit 225acfe133347d96423ec0f7515517a567408007
2 changes: 1 addition & 1 deletion ansible/modules/hashivault/hashivault_auth_method.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
config:
description:
- configuration set on auth method. expects a dict
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This document seems wrong to me like this should be a yaml dictionary rather than a string.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you talking about the default line? yeah, interestingly it works either way. when i first submitted the PR it was in standard {} format but after i started getting the sphinx issues i was messing with the format because i didnt know what was borking it.

i agree though, the doc example should show without the ", though it does work either way

default: "{'default_lease_ttl': 2764800, 'max_lease_ttl': 2764800, 'force_no_cache':False, 'token_type': 'default-service'}"
default: "dictionary with default_lease_ttl, max_lease_ttl, token-type, and force_no_cache defaulted"
'''
EXAMPLES = '''
---
Expand Down
2 changes: 1 addition & 1 deletion ansible/modules/hashivault/hashivault_secret_engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
config:
description:
- config of secret backend
default: "{'default_lease_ttl': 2764800, 'max_lease_ttl': 2764800, 'force_no_cache': False}"
default: "dictionary with default_lease_ttl, max_lease_ttl, and force_no_cache defaulted"
state:
description:
- state of secret backend
Expand Down