Ansible for network automation
Picks checked October 2026.Ansible lets you describe a change in a file instead of writing a program, and it does the same thing every time you run it. It pairs well with AI, because a playbook is short enough to read before it runs.
Where I'd go
Network Getting Started, Ansible docs
The official guide for network gear. It explains how network automation differs from servers, then walks you through your first command, inventory and playbook. Start here before any course.
Ansible Network Automation Workshop, Red Hat
Red Hat's own exercises: a first playbook, facts, then resource modules, on Arista, Cisco and Juniper. They're written for a lab Red Hat provides, so you'll point the inventory at your own gear, and the later exercises need Red Hat's paid automation controller.
cisco.ios collection on GitHub
The modules you'll actually call on Cisco IOS and IOS XE, from ios_config and ios_facts to the resource modules for interfaces, VLANs and OSPF. It says it's tested on CML, the same platform my labs run on.
Left out on purpose
- Ansible Automation Platform and AWX. A server that schedules playbooks is a later problem. Get one playbook working from your laptop first.
- Paid courses. Everything on this page is free.