From f72dec16eaa96295e750e1ab70ef265a788a0170 Mon Sep 17 00:00:00 2001 From: Akira Yokochi Date: Mon, 1 Feb 2021 13:16:21 +0000 Subject: [PATCH] fix typo --- docs/docsite/rst/network/user_guide/cli_parsing.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/docsite/rst/network/user_guide/cli_parsing.rst b/docs/docsite/rst/network/user_guide/cli_parsing.rst index 0dd81e2e439..dd9443dab5f 100644 --- a/docs/docsite/rst/network/user_guide/cli_parsing.rst +++ b/docs/docsite/rst/network/user_guide/cli_parsing.rst @@ -59,7 +59,7 @@ The ``cli_parse`` module includes the following cli_parsing plugins: ``json`` Converts JSON output at the CLI to an Ansible native data structure -Although Ansible contains a number of plugins that can convert XML to Ansible native data structures, the``cli_parse`` module runs the command on devices that return XML and returns the converted data in a single task. +Although Ansible contains a number of plugins that can convert XML to Ansible native data structures, the ``cli_parse`` module runs the command on devices that return XML and returns the converted data in a single task. Because ``cli_parse`` uses a plugin based architecture, it can use additional parsing engines from any Ansible collection. @@ -538,7 +538,7 @@ Parsing with TTP TTP is a Python library for semi-structured text parsing using templates. TTP uses a jinja-like syntax to limit the need for regular expressions. Users familiar with jinja templating may find the TTP template syntax familiar. -The following is an example TTP template stored as ``templates/nxos_show_interfaces.ttp``: +The following is an example TTP template stored as ``templates/nxos_show_interface.ttp``: .. code-block:: jinja @@ -586,7 +586,7 @@ The task sets the follow fact as the ``interfaces`` fact for the host: Converting XML ----------------- -Although Ansible contains a number of plugins that can convert XML to Ansible native data structures, the``cli_parse`` module runs the command on devices that return XML and returns the converted data in a single task. +Although Ansible contains a number of plugins that can convert XML to Ansible native data structures, the ``cli_parse`` module runs the command on devices that return XML and returns the converted data in a single task. This example task runs the ``show interface`` command and parses the output as XML: