Network Infrastructure Tutorials

Automate network infrastructure with Ansible. Configure switches, routers, firewalls, and load balancers, and back up device configs across vendors.

29

Tutorials

10

Beginner

19

Advanced

Ansible Ansible for Network Automation — Complete Guide

Automate routers, switches, and firewalls with Ansible network modules. Tested on real machines with clear, copy-paste examples.

Ansible Manage Network VLANs — Complete Guide

Configure VLANs on Cisco, Arista, and Juniper with Ansible. Follow clear, copy-paste examples and real-world usage notes for Ansible Manage Network VLANs.

Ansible Playbook Example: Automated Branch Network Health Check

Runnable Ansible playbook example modeling AAP 2.7's Branch - Network Health Check template for automated branch-wide network diagnostics.

Ansible Playbook Example: Backup Cisco and Arista Switch Configs to Git

Runnable Ansible playbook example that backs up Cisco and Arista running configs to Git, matching AAP 2.7's Network - Backup Switch Configs template.

Ansible Playbook Example: Firewall Rule Request Approval Workflow

Runnable Ansible playbook example for a firewall rule request approval workflow, modeled on AAP 2.7's Network - Firewall Rule Request template.

Ansible Playbook Example: Reset WiFi on Branch Access Points

Runnable Ansible playbook example for resetting WiFi on branch access points, modeled on the AAP 2.7 Branch - WiFi Reset self-service template.

Ansible cisco.intersight Module Example: Firmware and Port Configuration

Runnable Ansible playbook example using cisco.intersight modules for Day-2 firmware upgrades and port configuration on Cisco UCS gear.

Ansible cli_command Module — Run CLI Commands on Network Devices

Execute platform-agnostic CLI commands across network devices with Ansible. Tested on real machines with clear, copy-paste examples.

Ansible cli_config Module — Push CLI Config to Network Devices

Deploy configuration to any network device supporting CLI with Ansible. Tested on real machines with clear, copy-paste examples.

Ansible eos_command Module — Run Commands on Arista EOS Devices

Execute show and operational commands on Arista EOS switches with Ansible. Tested on real machines with clear, copy-paste examples.

Ansible eos_config Module — Manage Arista EOS Configuration

Deploy and manage configuration on Arista EOS network switches. Tested on real machines with clear, copy-paste examples.

Ansible for Network Engineers — Complete Guide

Ansible network automation guide: Cisco, Arista, Juniper, configuration backup, compliance checking. Tested, copy-paste examples included.

Ansible ios_command Module — Run Commands on Cisco IOS Devices

Execute show commands and operational commands on Cisco IOS routers/switches. Hands-on, tested examples and best practices for Ansible ios_command Module.

Ansible ios_config Module — Manage Cisco IOS Configuration

Deploy and manage configuration on Cisco IOS network devices with Ansible. Hands-on, tested examples and best practices for Ansible ios_config Module.

Ansible ios_facts Module — Gather Cisco IOS Device Facts

Collect hardware, software, and interface facts from Cisco IOS devices. Tested on real machines with clear, copy-paste examples.

Ansible junos_command Module — Run Commands on Juniper Junos Devices

Execute operational commands on Juniper routers and switches with Ansible. With clear, copy-paste, step-by-step examples.

Ansible junos_config Module — Manage Juniper Junos Configuration

Deploy and manage configuration on Juniper Junos network devices. Follow clear, copy-paste examples and real-world usage notes for Ansible junos_config Module.

Ansible netconf_config Module — Manage Device Config via NETCONF

Push and manage XML configuration via NETCONF protocol with Ansible. Hands-on, tested examples and best practices for Ansible netconf_config Module.

Ansible netconf_get Module — Retrieve Data via NETCONF

Query operational and configuration data from NETCONF-enabled devices. Tested on real machines with clear, copy-paste examples.

Ansible nxos_command Module — Run Commands on Cisco NX-OS Devices

Execute commands on Cisco Nexus switches running NX-OS with Ansible. Tested on real machines with clear, copy-paste examples.

Ansible nxos_config Module — Manage Cisco NX-OS Configuration

Deploy configuration to Cisco Nexus data center switches with Ansible. Hands-on, tested examples and best practices for Ansible nxos_config Module.

Ansible vyos_command Module — Run Commands on VyOS Routers

Execute operational commands on VyOS network routers with Ansible. Hands-on, tested examples and best practices for Ansible vyos_command Module.

Ansible vyos_config Module — Manage VyOS Router Configuration

Deploy and manage VyOS router and firewall configuration with Ansible. Tested on real machines with clear, copy-paste examples.

Ansible with F5 BIG-IP — Complete Automation Guide

Configure F5 BIG-IP load balancers, pools, and virtual servers with Ansible. Hands-on, tested examples and best practices for Ansible with F5 BIG-IP.

Ansible with Fortigate Fortinet — Complete Automation Guide

Automate Fortinet FortiGate firewall policies and VPN with Ansible. Hands-on, tested examples and best practices for Ansible with Fortigate Fortinet.

Ansible with MikroTik RouterOS — Complete Automation Guide

Configure MikroTik routers and switches with Ansible network modules. Tested on real machines with clear, copy-paste examples.

Ansible with Netbox IPAM — Complete Automation Guide

Integrate NetBox as dynamic inventory source and IPAM for Ansible. Tested on real machines with clear, copy-paste examples.

Ansible with Palo Alto Networks — Complete Automation Guide

Manage Palo Alto firewalls, security policies, and NAT with Ansible. Tested on real machines with clear, copy-paste examples.

Ansible with pfSense OPNsense — Complete Automation Guide

Automate pfSense and OPNsense firewall configuration with Ansible. Tested on real machines with clear, copy-paste examples.

Want to practice these tutorials?

Try the AI Playground for interactive learning with instant feedback.

Try AI Playground