mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
Fix code snippet in playbook filters doc (#39798)
This commit is contained in:
committed by
Jordan Borean
parent
3d315244af
commit
e4efc191c5
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user