Module DOCUMENTATION should match argspec (#34895)

* Module DOCUMENTATION should match argspec

Large update of many modules so that DOCUMENTATION option name and
aliases match those defined in the argspec.

Issues identified by https://github.com/ansible/ansible/pull/34809

In addition to many typos and missing aliases, the following notable
changes were made:

* Create `module_docs_fragments/url.py` for `url_argument_spec`
* `dellos*_command` shouldn't have ever had `waitfor` (was incorrectly copied)
* `ce_aaa_server_host.py` `s/raduis_server_type/radius_server_type/g`
* `Junos_lldp` enable should be part of `state`.
This commit is contained in:
John R Barker 2018-01-16 12:18:51 +00:00 committed by GitHub
commit 195beebcb4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
123 changed files with 406 additions and 132 deletions

View file

@ -55,6 +55,7 @@ options:
description:
- Corresponds to the C(--no-install-recommends) option for I(apt). C(yes) installs recommended packages. C(no) does not install
recommended packages. By default, Ansible will use the same defaults as the operating system. Suggested packages are never installed.
aliases: ['install-recommends']
type: bool
force:
description:

View file

@ -22,7 +22,6 @@ short_description: Add or remove Pulp repos from a remote host.
description:
- Add or remove Pulp repos from a remote host.
version_added: "2.3"
requirements: []
options:
add_export_distributor:
description:
@ -144,6 +143,8 @@ options:
notes:
- This module can currently only create distributors and importers on rpm
repositories. Contributions to support other repo types are welcome.
extends_documentation_fragment:
- url
'''
EXAMPLES = '''

View file

@ -41,6 +41,7 @@ options:
- Corresponds to the C(--no-recommends) option for I(urpmi).
type: bool
default: 'yes'
aliases: ['no-recommends']
force:
description:
- Assume "yes" is the answer to any question urpmi has to ask.