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
replace non-problems with original changes
  • Loading branch information
drewmullen committed Jun 7, 2019
commit 0bd59abac9e700891e671699e9b8e81c629313b4
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: "dictionary with default_lease_ttl, max_lease_ttl, token-type, and force_no_cache defaulted"
default: "{'default_lease_ttl': 2764800, 'max_lease_ttl': 2764800, 'force_no_cache':False, 'token_type': 'default-service'}"
'''
EXAMPLES = '''
---
Expand Down
5 changes: 2 additions & 3 deletions ansible/modules/hashivault/hashivault_secret_engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,10 @@
config:
description:
- config of secret backend
default: "dictionary with default_lease_ttl, max_lease_ttl, and force_no_cache defaulted"
default: "{'default_lease_ttl': 2764800, 'max_lease_ttl': 2764800, 'force_no_cache': False}"
state:
description:
- state of secret backend
choices: enabled, present, disabled, absent
- state of secret backend. choices: enabled, present, disabled, absent
options:
description:
- Specifies mount type specific options that are passed to the backend. NOT included unless backend == kv
Expand Down