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
remove required check
revert 37
  • Loading branch information
drewmullen committed Jun 10, 2019
commit 0fc78684302138b913b52725c1122efd034a70dc
4 changes: 2 additions & 2 deletions ansible/modules/hashivault/hashivault_azure_auth_role.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,9 +133,9 @@ def main():
argspec['num_uses'] = dict(required=False, type='int', default=0)

supports_check_mode=True
Copy link
Owner

Choose a reason for hiding this comment

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

Should this really be gone?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

so for some reason, python 36 and 27 fail on this line... something about "too many arguments". however, 37 it works... i removed it but left it for future re-integration. i probably should have included a note on that though

required_one_of=[['bound_service_principal_ids', 'bound_group_ids', 'bound_locations', 'bound_subscription_ids', 'bound_resource_groups', 'bound_scale_sets', 'role_file', 'state']]
# required_one_of=[['bound_service_principal_ids', 'bound_group_ids', 'bound_locations', 'bound_subscription_ids', 'bound_resource_groups', 'bound_scale_sets', 'role_file', 'state']]

module = hashivault_init(argspec, supports_check_mode, required_one_of)
module = hashivault_init(argspec, supports_check_mode) #, required_one_of)
result = hashivault_azure_auth_role(module)
if result.get('failed'):
module.fail_json(**result)
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = pep8,py27,py37
envlist = pep8,py27,py36

[testenv]
install_command = pip install {opts} {packages}
Expand Down