From e1fde2a50f316a70774ccceacb485d240fbd2d31 Mon Sep 17 00:00:00 2001 From: Alicia Cozine Date: Mon, 7 May 2018 22:13:02 -0500 Subject: [PATCH] Update call method for parse_cli_textfsm (#38437) (#39827) +label: docsite_pr (cherry picked from commit 7f5820274f60375cd217a78733467da569330df8) --- docs/docsite/rst/user_guide/playbooks_filters.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docsite/rst/user_guide/playbooks_filters.rst b/docs/docsite/rst/user_guide/playbooks_filters.rst index 247130fc3cb..0ebe2dbcd73 100644 --- a/docs/docsite/rst/user_guide/playbooks_filters.rst +++ b/docs/docsite/rst/user_guide/playbooks_filters.rst @@ -447,7 +447,7 @@ The network filters also support parsing the output of a CLI command using the TextFSM library. To parse the CLI output with TextFSM use the following filter:: - {{ output | parse_cli_textfsm('path/to/fsm') }} + {{ output.stdout[0] | parse_cli_textfsm('path/to/fsm') }} Use of the TextFSM filter requires the TextFSM library to be installed.