mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +00:00
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:
@@ -39,6 +39,7 @@ options:
|
||||
id:
|
||||
description:
|
||||
- Numeric, the droplet id you want to operate on.
|
||||
aliases: ['droplet_id']
|
||||
name:
|
||||
description:
|
||||
- String, this is the name of the droplet - must be formatted by hostname rules, or the name of a SSH key.
|
||||
|
||||
@@ -43,6 +43,7 @@ options:
|
||||
description:
|
||||
- DigitalOcean OAuth token.
|
||||
required: true
|
||||
aliases: ['DO_API_TOKEN', 'DO_API_KEY', 'DO_OAUTH_TOKEN']
|
||||
|
||||
notes:
|
||||
- Two environment variables can be used, DO_API_KEY, DO_OAUTH_TOKEN and DO_API_TOKEN.
|
||||
|
||||
@@ -31,10 +31,11 @@ options:
|
||||
description:
|
||||
- DigitalOcean api token.
|
||||
version_added: "1.9.5"
|
||||
aliases: ['api_token']
|
||||
aliases: ['API_TOKEN']
|
||||
id:
|
||||
description:
|
||||
- Numeric, the droplet id you want to operate on.
|
||||
aliases: ['droplet_id']
|
||||
name:
|
||||
description:
|
||||
- String, this is the name of the droplet - must be formatted by hostname rules, or the name of a SSH key, or the name of a domain.
|
||||
|
||||
@@ -33,6 +33,7 @@ options:
|
||||
required: false
|
||||
default: None
|
||||
version_added: 2.4
|
||||
aliases: ['id']
|
||||
name:
|
||||
description:
|
||||
- The name for the SSH key
|
||||
|
||||
@@ -31,6 +31,7 @@ options:
|
||||
description:
|
||||
- The ID of the resource to operate on.
|
||||
- The data type of resource_id is changed from integer to string, from version 2.5.
|
||||
aliases: ['droplet_id']
|
||||
resource_type:
|
||||
description:
|
||||
- The type of resource to operate on. Currently, only tagging of
|
||||
|
||||
Reference in New Issue
Block a user