Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 1.82 KB

README.md

File metadata and controls

18 lines (12 loc) · 1.82 KB

Ansible Network Automation - Agnostic Examples

This Github repository is for showcasing cli_command and cli_config agnostic network automation modules for the network_cli connection plugin.

Playbooks

  • show_interfaces.yml - this playbook issues show ip interface brief on Cisco IOS and Arista EOS, and show interface terse on Juniper Junos. Then displays the output to the terminal window.
  • backup.yml - performs a backup of the running configuration on Arista EOS, Cisco IOS and Juniper Junos.

Explanation of Additional Files

  • ansible.cfg - this is the Ansible Configuration File. This is not required but points to my inventory, in this case a file called hosts
  • hosts - this is an INI formatted inventory file. This is to be used as an example.
  • group_vars - this is a directory that contains variables separated by group. It is recommended to have a group per network platform type to store platform specific variables.

Red Hat Ansible Automation