mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-08-03 12:44:22 -07:00
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
|
||||
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue