mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-03 23:14:02 -07:00
[PR #10480/c1bd4611 backport][stable-11] doc style adjustments: modules s* (#10487)
doc style adjustments: modules s* (#10480)
* doc style adjustments: modules s*
* adjust comment indentation
* remove empty RETURN section in stacki_host
* spectrum_model_attrs: improve formatting of example
* Apply suggestions from code review
* Update plugins/modules/spotinst_aws_elastigroup.py
* Update plugins/modules/swdepot.py
---------
(cherry picked from commit c1bd461173
)
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
f8eca8a209
commit
9e91fb0704
42 changed files with 191 additions and 174 deletions
|
@ -30,7 +30,7 @@ options:
|
|||
required: true
|
||||
description:
|
||||
- IP address of the device.
|
||||
- If a hostname is given, it will be resolved to the IP address.
|
||||
- If a hostname is given, it is resolved to the IP address.
|
||||
community:
|
||||
type: str
|
||||
description:
|
||||
|
@ -69,13 +69,13 @@ options:
|
|||
- Oneclick user password.
|
||||
use_proxy:
|
||||
description:
|
||||
- If V(false), it will not use a proxy, even if one is defined in an environment variable on the target hosts.
|
||||
- If V(false), it does not use a proxy, even if one is defined in an environment variable on the target hosts.
|
||||
default: true
|
||||
type: bool
|
||||
validate_certs:
|
||||
description:
|
||||
- If V(false), SSL certificates will not be validated. This should only be used on personally controlled sites using
|
||||
self-signed certificates.
|
||||
- If V(false), SSL certificates are not validated. This should only be used on personally controlled sites using self-signed
|
||||
certificates.
|
||||
default: true
|
||||
type: bool
|
||||
agentport:
|
||||
|
@ -85,8 +85,8 @@ options:
|
|||
- UDP port used for SNMP discovery.
|
||||
default: 161
|
||||
notes:
|
||||
- The devices will be created inside the I(Universe) container of the specified landscape.
|
||||
- All the operations will be performed only on the specified landscape.
|
||||
- The devices are created inside the I(Universe) container of the specified landscape.
|
||||
- All the operations are performed only on the specified landscape.
|
||||
"""
|
||||
|
||||
EXAMPLES = r"""
|
||||
|
@ -119,7 +119,12 @@ device:
|
|||
description: Device data when O(state=present).
|
||||
returned: success
|
||||
type: dict
|
||||
sample: {'model_handle': '0x1007ab', 'landscape': '0x100000', 'address': '10.10.5.1'}
|
||||
sample:
|
||||
{
|
||||
"model_handle": "0x1007ab",
|
||||
"landscape": "0x100000",
|
||||
"address": "10.10.5.1"
|
||||
}
|
||||
"""
|
||||
|
||||
from socket import gethostbyname, gaierror
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue