Open mattspera opened 4 years ago
Same issue, it is still not working. Example task that tried with: `
name: Parse show running-config vrf <> using PyATS
ansible.utils.cli_parse:
command: "show running-config vrf myVRF | sec '^vrf'"
parser:
name: ansible.netcommon.pyats
register: sh_run_conf_vrf_parsed `
When using the
pyats_parse_command
Ansible module with the commandshow running-config vrf {{ vrf }} | sec '^vrf'
, the following exception is raised:I've tested using the identical command with the pyATS/Genie Python library within a Python script and it is able to parse the output successfully.
Model: Cisco Nexus9000 NXOS: version 7.0(3)I7(3)