Fix module validation checks and remove old params (#39926)

This PR includes:
- Fixes to the majority of module validation issues
  (deliberate inconsistencies between docs and arg_spec)
- Removal of deprecated parameters 'method' and 'protocols'
- A few typos in the documentation

There are still some left-over validation errors, some are deliberate
(like doc strings as default to indicate ranges, etc.)
This commit is contained in:
Dag Wieers 2018-05-10 08:47:08 +02:00 committed by GitHub
parent 64ee8da3f1
commit d7f3d3b867
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
40 changed files with 127 additions and 377 deletions

View file

@ -39,21 +39,18 @@ options:
format:
description:
- Sets the config backup to be formatted in JSON or XML.
- The APIC defaults new Export Policies to C(json)
- The APIC defaults to C(json) when unset.
choices: [ json, xml ]
default: json
include_secure:
description:
- Determines if secure information should be included in the backup.
- The APIC defaults new Export Policies to C(yes).
- The APIC defaults to C(yes) when unset.
type: bool
default: 'yes'
max_count:
description:
- Determines how many snapshots can exist for the Export Policy before the APIC starts to rollover.
- The APIC defaults new Export Policies to C(3).
- The APIC defaults to C(3) when unset.
choices: [ range between 1 and 10 ]
default: 3
snapshot:
description:
- The name of the snapshot to delete.