1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

module_utils/rax: Small parameter cleanup (#24664)

Nothing really fancy.

- Removing boolean choices
- Use path-type for credentials
This commit is contained in:
Dag Wieers 2017-05-16 16:02:04 +02:00 committed by Ryan Brown
parent a3a0742ce5
commit d07f18fbb9

View file

@ -245,14 +245,14 @@ def rax_argument_spec():
return dict(
api_key=dict(type='str', aliases=['password'], no_log=True),
auth_endpoint=dict(type='str'),
credentials=dict(type='str', aliases=['creds_file']),
credentials=dict(type='path', aliases=['creds_file']),
env=dict(type='str'),
identity_type=dict(type='str', default='rackspace'),
region=dict(type='str'),
tenant_id=dict(type='str'),
tenant_name=dict(type='str'),
username=dict(type='str'),
verify_ssl=dict(choices=BOOLEANS, type='bool'),
verify_ssl=dict(type='bool'),
)