diff options
author | Akira Yokochi <akira6592@gmail.com> | 2021-02-07 16:09:28 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-07 01:09:28 -0600 |
commit | 67a018b8155bd2b047f995031ccd7ede0fcfd72a (patch) | |
tree | 517f3465156df99268be0444ce71307a39eff3eb | |
parent | 015ec3eda80bd89a3b5c75ed29c8c3b4f712c892 (diff) | |
download | ansible-67a018b8155bd2b047f995031ccd7ede0fcfd72a.tar.gz |
fix typo (#73479)
(cherry picked from commit f72dec16eaa96295e750e1ab70ef265a788a0170)
-rw-r--r-- | docs/docsite/rst/network/user_guide/cli_parsing.rst | 6 |
1 files 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 0dd81e2e43..dd9443dab5 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: |