diff --git a/lib/ansible/modules/network/dellos10/dellos10_command.py b/lib/ansible/modules/network/dellos10/dellos10_command.py index b8d3530571..03bc7bab45 100644 --- a/lib/ansible/modules/network/dellos10/dellos10_command.py +++ b/lib/ansible/modules/network/dellos10/dellos10_command.py @@ -118,13 +118,13 @@ 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: [['...', '...'], ['...'], ['...']] diff --git a/lib/ansible/modules/network/dellos6/dellos6_command.py b/lib/ansible/modules/network/dellos6/dellos6_command.py index c30c4fdf09..6a5cc5ddb5 100644 --- a/lib/ansible/modules/network/dellos6/dellos6_command.py +++ b/lib/ansible/modules/network/dellos6/dellos6_command.py @@ -118,13 +118,13 @@ 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: [['...', '...'], ['...'], ['...']] diff --git a/lib/ansible/modules/network/dellos9/dellos9_command.py b/lib/ansible/modules/network/dellos9/dellos9_command.py index ac7889f8da..4eba06342a 100644 --- a/lib/ansible/modules/network/dellos9/dellos9_command.py +++ b/lib/ansible/modules/network/dellos9/dellos9_command.py @@ -126,22 +126,19 @@ 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: description: The list of conditionals that have failed returned: failed type: list sample: ['...', '...'] - warnings: description: The list of warnings (if any) generated by module based on arguments returned: always diff --git a/lib/ansible/modules/network/eos/eos_command.py b/lib/ansible/modules/network/eos/eos_command.py index d89f0edebc..b807508167 100644 --- a/lib/ansible/modules/network/eos/eos_command.py +++ b/lib/ansible/modules/network/eos/eos_command.py @@ -116,8 +116,18 @@ EXAMPLES = """ """ RETURN = """ +stdout: + description: The set of responses from the commands + 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 apart from low level errors (such as action plugin) + type: list + sample: [['...', '...'], ['...'], ['...']] failed_conditions: - description: the conditionals that failed + description: The list of conditionals that have failed returned: failed type: list sample: ['...', '...'] diff --git a/lib/ansible/modules/network/ios/ios_command.py b/lib/ansible/modules/network/ios/ios_command.py index e96845fb37..c6feaf38e7 100644 --- a/lib/ansible/modules/network/ios/ios_command.py +++ b/lib/ansible/modules/network/ios/ios_command.py @@ -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: diff --git a/lib/ansible/modules/network/iosxr/iosxr_command.py b/lib/ansible/modules/network/iosxr/iosxr_command.py index 7239218039..c285fd1807 100644 --- a/lib/ansible/modules/network/iosxr/iosxr_command.py +++ b/lib/ansible/modules/network/iosxr/iosxr_command.py @@ -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: diff --git a/lib/ansible/modules/network/junos/junos_command.py b/lib/ansible/modules/network/junos/junos_command.py index cab0bfe166..b94e8fead0 100644 --- a/lib/ansible/modules/network/junos/junos_command.py +++ b/lib/ansible/modules/network/junos/junos_command.py @@ -129,8 +129,18 @@ EXAMPLES = """ """ RETURN = """ +stdout: + description: The set of responses from the commands + 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 apart from low level errors (such as action plugin) + type: list + sample: [['...', '...'], ['...'], ['...']] failed_conditions: - description: the conditionals that failed + description: The list of conditionals that have failed returned: failed type: list sample: ['...', '...'] diff --git a/lib/ansible/modules/network/nxos/nxos_command.py b/lib/ansible/modules/network/nxos/nxos_command.py index e17cc086fe..98bbce6ccd 100644 --- a/lib/ansible/modules/network/nxos/nxos_command.py +++ b/lib/ansible/modules/network/nxos/nxos_command.py @@ -138,19 +138,17 @@ vars: RETURN = """ stdout: - description: the set of responses from the commands - returned: always + description: The set of responses from the commands + 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: - description: the conditionals that failed + description: The list of conditionals that have failed returned: failed type: list sample: ['...', '...'] diff --git a/lib/ansible/modules/network/sros/sros_command.py b/lib/ansible/modules/network/sros/sros_command.py index ec8d18bebe..61b24dc47b 100644 --- a/lib/ansible/modules/network/sros/sros_command.py +++ b/lib/ansible/modules/network/sros/sros_command.py @@ -128,13 +128,13 @@ 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: [['...', '...'], ['...'], ['...']] diff --git a/lib/ansible/modules/network/vyos/vyos_command.py b/lib/ansible/modules/network/vyos/vyos_command.py index 57a0b05a82..96a2f5fd67 100644 --- a/lib/ansible/modules/network/vyos/vyos_command.py +++ b/lib/ansible/modules/network/vyos/vyos_command.py @@ -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: ['...', '...']