Skip to content

Commit

Permalink
remove required check
Browse files Browse the repository at this point in the history
  • Loading branch information
drewmullen committed Jun 10, 2019
1 parent 41d0101 commit 2bacb47
Showing 1 changed file with 2 additions and 2 deletions.
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
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

0 comments on commit 2bacb47

Please sign in to comment.