MSO: Clean up argspec (#53067)

This PR includes:
- Removing aliases (these are now modules in 2.8)
- Cleaning up argspec
This commit is contained in:
Dag Wieers 2019-02-27 17:14:58 +01:00 committed by GitHub
commit 4e058a77ad
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
16 changed files with 32 additions and 32 deletions

View file

@ -31,7 +31,7 @@ options:
- Alternative to the name, you can use C(tenant_id).
type: str
required: yes
aliases: [ name, tenant_name ]
aliases: [ name ]
display_name:
description:
- The name of the tenant to be displayed in the web UI.
@ -115,8 +115,8 @@ def main():
argument_spec.update(
description=dict(type='str'),
display_name=dict(type='str'),
tenant=dict(type='str', required=False, aliases=['name', 'tenant_name']),
tenant_id=dict(type='str', required=False),
tenant=dict(type='str', aliases=['name']),
tenant_id=dict(type='str'),
users=dict(type='list'),
sites=dict(type='list'),
state=dict(type='str', default='present', choices=['absent', 'present', 'query']),