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
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

@ -41,24 +41,21 @@ options:
fail_on_decrypt:
description:
- Determines if the APIC should fail the rollback if unable to decrypt secured data.
- The APIC defaults new Import Policies to C(yes).
- The APIC defaults to C(yes) when unset.
type: bool
default: 'yes'
import_mode:
description:
- Determines how the import should be handled by the APIC.
- The APIC defaults new Import Policies to C(atomic).
- The APIC defaults to C(atomic) when unset.
choices: [ atomic, best-effort ]
default: atomic
import_policy:
description:
- The name of the Import Policy to use for config rollback.
import_type:
description:
- Determines how the current and snapshot configuration should be compared for replacement.
- The APIC defaults new Import Policies to C(replace).
- The APIC defaults to C(replace) when unset.
choices: [ merge, replace ]
default: replace
snapshot:
description:
- The name of the snapshot to rollback to, or the base snapshot to use for comparison.