Files
toallab-automation/roles/ansible-network.cisco_ios/tests/test_parser_templates.yaml
Patrick Toal 6e2205a046 Adding Netbox
2019-05-06 00:34:45 -04:00

32 lines
925 B
YAML
Executable File

#!/usr/bin/env ansible-playbook
---
- hosts: localhost
gather_facts: false
vars:
ansible_network_os: ios
roles:
- "{{ playbook_dir }}/../../ansible-network.network-engine"
tasks:
- name: Include tests for `show interfaces`
include_tasks: parser_templates/cli/show_interfaces/main.yaml
vars:
interfaces: "{{ cisco_ios['interfaces'] }}"
- name: Include tests for `show ip bgp summary`
include_tasks: parser_templates/cli/show_ip_bgp_summary/main.yaml
vars:
bgp: "{{ cisco_ios['vrf']['DEFAULT']['protocols']['bgp'] }}"
- name: Include tests for `show ip vrf detail`
include_tasks: parser_templates/cli/show_ip_vrf_detail/main.yaml
vars:
vrfs: "{{ cisco_ios['vrf'] }}"
- name: Include tests for `show version`
include_tasks: parser_templates/cli/show_version/main.yaml
vars:
system: "{{ cisco_ios['system'] }}"