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:
John R Barker 2017-04-13 11:59:23 -04:00 committed by GitHub
commit 2bb25d031b
10 changed files with 40 additions and 25 deletions

View file

@ -112,7 +112,7 @@ 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:
@ -121,7 +121,7 @@ stdout_lines:
type: list
sample: [['...', '...'], ['...'], ['...']]
failed_conditions:
description: The conditionals that have failed
description: The list of conditionals that have failed
returned: failed
type: list
sample: ['...', '...']