Fix code snippet in playbook filters doc (#39798)
This commit is contained in:
parent
3d315244af
commit
e4efc191c5
1 changed files with 1 additions and 3 deletions
|
@ -382,9 +382,7 @@ Network CLI filters
|
||||||
To convert the output of a network device CLI command into structured JSON
|
To convert the output of a network device CLI command into structured JSON
|
||||||
output, use the ``parse_cli`` filter::
|
output, use the ``parse_cli`` filter::
|
||||||
|
|
||||||
.. code-block:: yaml
|
{{ output | parse_cli('path/to/spec') }}
|
||||||
|
|
||||||
{{ output | parse_cli('path/to/spec') }}
|
|
||||||
|
|
||||||
|
|
||||||
The ``parse_cli`` filter will load the spec file and pass the command output
|
The ``parse_cli`` filter will load the spec file and pass the command output
|
||||||
|
|
Loading…
Add table
Reference in a new issue