From 6f0f2c9d68f82fd7e22ffaa5d52a1ad4c9c463cb Mon Sep 17 00:00:00 2001 From: Peng Xiao Date: Mon, 10 Feb 2020 23:24:56 +0100 Subject: [PATCH] [stable-2.9]add one note to help ansible user to understand the requirements to (#65969) (#66493) execute iosxr_command module Signed-off-by: Peng Xiao (cherry picked from commit 69f9c3c8eb8722e1207f7d3846c437c3961fe987) --- .../fragments/65969-iosxr-command-requirements-update.yaml | 3 +++ lib/ansible/modules/network/iosxr/iosxr_command.py | 1 + 2 files changed, 4 insertions(+) create mode 100644 changelogs/fragments/65969-iosxr-command-requirements-update.yaml diff --git a/changelogs/fragments/65969-iosxr-command-requirements-update.yaml b/changelogs/fragments/65969-iosxr-command-requirements-update.yaml new file mode 100644 index 00000000000..bbdebd08e86 --- /dev/null +++ b/changelogs/fragments/65969-iosxr-command-requirements-update.yaml @@ -0,0 +1,3 @@ +--- +minor_changes: + - add one note to help ansible user to understand the requirements to (https://github.com/ansible/ansible/pull/65969) \ No newline at end of file diff --git a/lib/ansible/modules/network/iosxr/iosxr_command.py b/lib/ansible/modules/network/iosxr/iosxr_command.py index 2270235cac5..7c282043a3c 100644 --- a/lib/ansible/modules/network/iosxr/iosxr_command.py +++ b/lib/ansible/modules/network/iosxr/iosxr_command.py @@ -27,6 +27,7 @@ description: Please use M(iosxr_config) to configure iosxr devices. extends_documentation_fragment: iosxr notes: + - Make sure the user has been authorized to execute commands terminal length 0, terminal width 512 and terminal exec prompt no-timestamp. - This module works with C(network_cli). See L(the IOS-XR Platform Options,../network/user_guide/platform_iosxr.html). - This module does not support C(netconf) connection. - Tested against IOS XR 6.1.3