Udemy
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Ansible for Network Engineers: Video course for beginners
Rating: 4.5 out of 5(4 ratings)
62 students

Ansible for Network Engineers: Video course for beginners

Automate real networks with Ansible. [AR, EN, ES, PT, TR subs]
Created byJozef Baros
Last updated 9/2026
English
ArabicEnglish

What you'll learn

  • Build a reproducible Ansible control node and model an entire estate as an inventory that grows by addition rather than by editing four hundred files
  • Write playbooks that are genuinely idempotent, prove it, and turn that property into continuous drift detection at no extra cost.
  • Use all seven resource-module states with confidence
  • Design a source of truth where every fact is written once, and generate complete device configurations from it with Jinja2 and derived addressing.
  • Run the operational jobs properly: backups that are diffable and restorable, restore drills, generated documentation, and software upgrades
  • Deliver three real projects end to end: campus 802.1X across 1,600 ports, an EVPN fabric with multi-platform WAN policy, and security automation

Course content

7 sections • 101 lectures • 8h 54m total length
  • Foundations Intro2:31
  • Start Here — Lab and Device Setup6:13
  • Video: What Manual Configuration Actually Costs7:59
  • What Manual Configuration Actually Costs5:40
  • Video: Ansible in the Network Landscape8:33
  • Ansible in the Network Landscape5:09
  • Video: YAML, Transports and the Minimum Useful Git7:52
  • YAML, Transports and the Minimum Useful Git5:31
  • Video: Building the Control Node and the Lab7:31
  • Building the Control Node and the Lab5:03
  • Video: First Contact With a Device7:27
  • First Contact With a Device4:19
  • Section 1 — Where You Now Stand2:38

Requirements

  • Working knowledge of enterprise networking. You should be comfortable with VLANs, trunking, routing, access lists and the CLI of at least one platform, and you should have configured devices by hand often enough to be tired of it.
  • No Ansible experience is required. No Python is required. No YAML, Git or Jinja2 experience is required either; all four are taught from the beginning, at the depth a network engineer actually needs.
  • A machine that can run Linux or macOS, or Windows with WSL2, with Python 3.12 or newer. A Ubuntu instance under WSL2 is a first-class control node and is what a large share of enterprise network engineers use.
  • At least one reachable network device to practise against. Cisco DevNet publishes always-on sandbox devices with published credentials that require no setup at all, and the first two sections can be completed entirely against those. A lab of your own, built with CML, EVE-NG or Containerlab, is better for the later sections but is not required to start.
  • A text editor and a terminal.

Description

Before enrolling, please watch the free preview lessons — so you know exactly what you're getting.

Most network engineers arrive at automation the same way. Something breaks at two in the morning, a change window overruns, or an auditor asks a question nobody can answer, and it becomes obvious that the network has no authoritative description of itself. The configuration is on the devices. What the configuration is supposed to be lives in a design document that stopped being true in 2019, a spreadsheet, and the memory of whoever was on the project.

This course is about closing that gap. Its central claim is a single sentence: make the description of the network the thing that configures the network. Ansible is the vehicle, and a good one, but the techniques that will still matter in ten years are not the module names.

You will start from nothing: a control node, a lab, and an inventory. You will write your first playbook and learn precisely what idempotency means and why it turns configuration into monitoring for free. You will learn what actually carries a task to a switch and how to debug it when it does not arrive, how credentials reach a device without ever appearing in Git, and how to use all seven resource-module states knowing exactly which one will delete configuration you did not mention.

Then the shift. You stop configuring devices and start describing them, letting a template do the configuring. You design a source of truth that survives its second year, generate complete device configurations from data, and close the loop with drift detection that costs one scheduled job and carries almost no risk. From there it becomes an operational practice: backups that are genuinely diffable and restorable, restore drills that find problems before an outage does, documentation generated from the network rather than maintained beside it, and software upgrades wrapped in eight steps of protection around the one irreversible step.

Three complete projects take you from a stated requirement to a validated rollout: a campus 802.1X deployment across 1,600 ports, a data centre fabric with EVPN and WAN routing policy across three platforms, and security automation across four platforms. In each of them the automation is roughly a fifth of the effort. The rest goes on identifying endpoints nobody inventoried and persuading rule owners to justify what they own. That is not a failure of automation. It is what automation reveals.

The course finishes with the part that has nothing to do with Ansible: Git workflow for network teams, a test suite that runs in under a minute with no device, CI/CD and where to stop automating and put a human, least-credential design, and how an automation effort becomes something the team does rather than something one person maintains.

Every lesson has a written article with a coding exercise and a fully commented Ansible file you can run. The video explains the idea; the article is where you do the work.

Examples target ansible-core 2.21 and Python 3.12 or newer, with Cisco IOS-XE, NX-OS and IOS-XR, plus Juniper Junos and Fortinet FortiOS where the contrast teaches something worth knowing.


Important disclaimer and trademarks

This course is an independent publication. It is not affiliated with, authorised by, sponsored by, endorsed by, or in any way officially connected with Red Hat, Inc., Cisco Systems, Inc., Juniper Networks, Inc., Fortinet, Inc., or any other vendor named in it.

Ansible and Red Hat Ansible Automation Platform are trademarks of Red Hat, Inc. Cisco, IOS, IOS-XE, IOS-XR, NX-OS, Catalyst, Nexus and DevNet are trademarks of Cisco Systems, Inc. Junos and Juniper Networks are trademarks of Juniper Networks, Inc. FortiGate and FortiOS are trademarks of Fortinet, Inc. All other product names, logos and brands are the property of their respective owners and are used here for identification purposes only.

This course does not prepare you for, and is not endorsed by, any vendor certification programme.

This course contain use of AI

The commands, playbooks and configurations taught here can change or disrupt a production network. Several are destructive by design. Run every example in a laboratory first, then against a single device in check mode, and only then against anything that matters. Verify against your vendor's current documentation, which is authoritative where this course and the vendor disagree, and follow your organisation's change management process. You are responsible for what you run on your network.

Who this course is for:

  • Network engineers with no Ansible experience at all who want to automate the estate they already run, rather than learn a tool in the abstract.
  • Network automation engineers who can already write playbooks and want the parts nobody teaches: how to design a data model that survives its second year, how to phase a rollout so nobody loses access, and how to build something a colleague can run while you are on holiday.
  • Senior engineers and team leads who need to make the case for automation to a manager who controls a budget, and who want an adoption sequence where each stage earns the credibility that funds the next.
  • Engineers working in mixed estates who have Cisco at the core but also carry Juniper or Fortinet, and who need one intent model rendered per platform rather than three drifting versions.
  • Anyone responsible for network compliance, configuration backup, or disaster recovery who has an archive nobody has ever restored from.