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:
- The name of the schema.
type: str
required: yes
aliases: [ name, schema_name ]
aliases: [ name ]
templates:
description:
- A list of templates for this schema.
@ -116,8 +116,8 @@ from ansible.module_utils.network.aci.mso import MSOModule, mso_argument_spec, i
def main():
argument_spec = mso_argument_spec()
argument_spec.update(
schema=dict(type='str', required=False, aliases=['name', 'schema_name']),
schema_id=dict(type='str', required=False),
schema=dict(type='str', aliases=['name']),
schema_id=dict(type='str'),
templates=dict(type='list'),
sites=dict(type='list'),
# messages=dict(type='dict'),