mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-25 03:41:25 -07:00
network_cli modules don't always return stdout or stdout_lines (#23573)
It's possible that if the module has a low-level failure, such as "unable to open shell", or something else in the action plugin that stdout and stdout_lines will not be returned. Update the documentation to clarify this point.
This commit is contained in:
parent
952e842720
commit
2bb25d031b
10 changed files with 40 additions and 25 deletions
|
@ -115,12 +115,12 @@ tasks:
|
|||
RETURN = """
|
||||
stdout:
|
||||
description: The set of responses from the commands
|
||||
returned: always
|
||||
returned: always apart from low level errors (such as action plugin)
|
||||
type: list
|
||||
sample: ['...', '...']
|
||||
stdout_lines:
|
||||
description: The value of stdout split into a list
|
||||
returned: always
|
||||
returned: always apart from low level errors (such as action plugin)
|
||||
type: list
|
||||
sample: [['...', '...'], ['...'], ['...']]
|
||||
failed_conditions:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue