mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-04 07:24:00 -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
|
@ -49,7 +49,7 @@ options:
|
|||
host:
|
||||
description:
|
||||
- The endpoint this configuration is valid for.
|
||||
- Can be an actual address on the internet or an alias that will connect to the value of O(hostname).
|
||||
- It can be an actual address on the internet or an alias that connects to the value of O(hostname).
|
||||
required: true
|
||||
type: str
|
||||
hostname:
|
||||
|
@ -66,7 +66,7 @@ options:
|
|||
type: str
|
||||
identity_file:
|
||||
description:
|
||||
- The path to an identity file (SSH private key) that will be used when connecting to this host.
|
||||
- The path to an identity file (SSH private key) that is used when connecting to this host.
|
||||
- File need to exist and have mode V(0600) to be valid.
|
||||
type: path
|
||||
identities_only:
|
||||
|
@ -141,7 +141,7 @@ options:
|
|||
version_added: 10.1.0
|
||||
other_options:
|
||||
description:
|
||||
- Provides the option to specify arbitrary SSH config entry options via a dictionary.
|
||||
- Allows specifying arbitrary SSH config entry options using a dictionary.
|
||||
- The key names must be lower case. Keys with upper case values are rejected.
|
||||
- The values must be strings. Other values are rejected.
|
||||
type: dict
|
||||
|
@ -198,22 +198,27 @@ hosts_change_diff:
|
|||
description: A list of host diff changes.
|
||||
returned: on change
|
||||
type: list
|
||||
sample: [
|
||||
{
|
||||
"example.com": {
|
||||
"new": {
|
||||
"hostname": "github.com",
|
||||
"identityfile": ["/tmp/test_ssh_config/fake_id_rsa"],
|
||||
"port": "2224"
|
||||
},
|
||||
"old": {
|
||||
"hostname": "github.com",
|
||||
"identityfile": ["/tmp/test_ssh_config/fake_id_rsa"],
|
||||
"port": "2224"
|
||||
sample:
|
||||
[
|
||||
{
|
||||
"example.com": {
|
||||
"new": {
|
||||
"hostname": "github.com",
|
||||
"identityfile": [
|
||||
"/tmp/test_ssh_config/fake_id_rsa"
|
||||
],
|
||||
"port": "2224"
|
||||
},
|
||||
"old": {
|
||||
"hostname": "github.com",
|
||||
"identityfile": [
|
||||
"/tmp/test_ssh_config/fake_id_rsa"
|
||||
],
|
||||
"port": "2224"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
]
|
||||
"""
|
||||
|
||||
import os
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue