Skip to content

network-automation/agnostic_example

Repository files navigation

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

About

cli_command and cli_config agnostic network automation modules for the network_cli connection plugin

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published