You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fail Log:
cisco_ios/tests/parser_templates/cli/show_ip_route_vrf_all/main.yaml:3
Wednesday 23 January 2019 22:16:09 +1000 (0:00:00.024) 0:00:00.062 *****
fatal: [localhost]: FAILED! =>
msg: 'template error while templating string: no filter named ''expand_routing_protocol_name''. String: {{ { nested_item.prefix+nested_item.mask: { ''subnet'': nested_item.prefix, ''mask'': nested_item.mask, ''protocol'': nested_item.prot | expand_routing_protocol_name, ''dist_metric'': nested_item.metric, ''next_hop'': ([nested_item.next_hop_nbr]+[nested_item.next_hop_int, nested_item.next_hop_int_sum]) | reject(''equalto'', '''') | list } } }}'
to retry, use: --limit @/home/4039467/work/cisco_ios/tests/test_parser_templates.retry
If I add 'filter_plugins = filter_plugins' in ansible.cfg, I get the expected result without any failures.
Please suggest if it is required to mention filter_plugins explicitly, as my understanding is that it should be taken care without the need to mention in ansible.cfg.
The text was updated successfully, but these errors were encountered:
I m not able to load filter_plugins in tests without specifying filter plugin explicitly inside ansible.cfg.
https://github.com/Roshna-Raman/cisco_ios/tree/remotes/origin/f/parser_show_ip_route
$ ansible --version
ansible 2.7.5
Fail Log:
cisco_ios/tests/parser_templates/cli/show_ip_route_vrf_all/main.yaml:3
Wednesday 23 January 2019 22:16:09 +1000 (0:00:00.024) 0:00:00.062 *****
fatal: [localhost]: FAILED! =>
msg: 'template error while templating string: no filter named ''expand_routing_protocol_name''. String: {{ { nested_item.prefix+nested_item.mask: { ''subnet'': nested_item.prefix, ''mask'': nested_item.mask, ''protocol'': nested_item.prot | expand_routing_protocol_name, ''dist_metric'': nested_item.metric, ''next_hop'': ([nested_item.next_hop_nbr]+[nested_item.next_hop_int, nested_item.next_hop_int_sum]) | reject(''equalto'', '''') | list } } }}'
to retry, use: --limit @/home/4039467/work/cisco_ios/tests/test_parser_templates.retry
If I add 'filter_plugins = filter_plugins' in ansible.cfg, I get the expected result without any failures.
Please suggest if it is required to mention filter_plugins explicitly, as my understanding is that it should be taken care without the need to mention in ansible.cfg.
The text was updated successfully, but these errors were encountered: