Hi There
I am testing the following task;
- name: Gather all class maps
ansible.utils.cli_parse:
command: show class-map
parser:
name: ansible.netcommon.pyats
os: iosxe
set_fact: cm
The task fails with the following output;
TASK [Gather all class maps] *******************************************************************************************
fatal: [cat3560]: FAILED! => {“changed”: false, “msg”: “The pyats library return an error for ‘show class-map’ for ‘iosxe’. Error: Could not find parser for show class-map under (‘iosxe’,).”}
However, the command “show class-map” appears to have a parser.
Am I missing a step here?
Regards,
Luc