Professional Course
4.8 (4 Reviews)

Network Automation Using Python and Ansible

Alta3 Research, Online (+1 locations)
5 days
Next course start
Private Team Training delivered on-site or virtually (+2 start dates)
5 days
Next course start
Private Team Training delivered on-site or virtually (+2 start dates)
This provider usually responds within 48 hours 👍

Course description

Network Automation Using Python and Ansible

This Network Automation training course teaches students to blend Python skillsets with Ansible through the lens of automating networks. Automation techniques for the most popular vendors (incl. Cisco, Juniper, Arista) will be subjects of study, however students may request examples from vendors within their own environments. Topics begin with a focus on automating networks with Python. This skill set is then folded into a broadening understanding of automating with Ansible. By the conclusion of this course, Students will have programmatic experience automating enterprise class networks, including writing custom Ansible modules with Python.

Class is a combination of lecture, demonstration, and hands-on labs. Students are invited to share their own relevant Python and Ansible scripts with the instructor to ensure class subjects are as relevant as possible.

Upcoming start dates

Choose between 2 start dates

Private Team Training delivered on-site or virtually

  • On-site
  • United States of America

Private Team Training delivered Virtually

  • On-site
  • Online

Who should attend?


Python Basics

Training content

Python Review

  • Conditional expressions
  • Relational and Boolean operators
  • Lists, Tuples, Dictionaries
  • Built-in functions
  • Writing custom functions
  • Getting at methods
  • Iterating with Loops (for and while)
  • Working with files
  • Working with JSON and YAML

Python and Network Automation

  • Overview of REST
  • Getting at RESTful interfaces with Python
  • Python and APIs
  • Paramkio and Netmiko
  • Dealing with SSH Keys and Passwords
  • Best practices for securing credentials

Version Management with Git and GitHub

  • git commands
  • git branching
  • Setting up a GitHub user account
  • Tracking your code with git

Introduction to Ansible

  • Ansible programming keywords
  • YAML and JSON for data exchange within playbooks
  • Ansible Playbook components
  • Tying together Python and Ansible – Using Python within Ansible

Ansible Network Modules

  • What is new in Ansible (most current updates / release notes)
  • Network Agnostic modules
  • Writing network playbooks
  • Reviewing the construction of network playbooks
  • Writing Ansible playbooks that respond to network failures

Blending Python and Ansible Skillsets

  • Dropping Python code snippets within Ansible Playbooks
  • Overview of the Ansible Python Plugin system
  • Crafting custom Ansible modules with Python
  • Calling Python scripts with Ansible
  • Jinja2 Templating Engine for Python (and Ansible)
  • Using Templates in Ansible playbooks
  • Jinja2 filters, looping, and other useful tricks for automating with Ansible
  • When to use Python and when to use Ansible
  • Ansible Galaxy, Collection, and Roles

Customizing Ansible with Python

  • Writing custom Ansible modules with Python
  • Writing custom Ansible plugins with Python
  • Deploying Ansible customizations with Ansible Collections
  • Prompting for Ansible user input Molecule – Testing your roles


  • Live Webinar fee: $2,195.00
  • Contact the provider for more information about pricing for on-site delivery option

Continuing studies

Follow-on Courses

Python for Network Automation

Why choose Alta3?

25+ years specializing in technology training 

Over 95% student satisfaction rate

Training delivered in 9+ countries


Average rating 4.8

Based on 4 reviews.
Reviews are published according to our review policy..
Write a review!
2020 Student
13 Nov 2020

It was a very informative course with many useful samples and practicality. Thank you very much.

2020 Student
30 Oct 2020

I didn't have any expectations prior to this class,. thanks for helping me better understand scripts, codes, and a little bit of programming and linx.

2020 Student
30 Oct 2020

Sam's class was excellent and enjoyable. He hit all the points I was interested in and showed us examples of how we can use this knowledge in our jobs. He was very knowledgeable...

Show more

Contact this provider

Contact course provider

Fill out your details to find out more about Network Automation Using Python and Ansible.

  Contact the provider

  Get more information

  Register your interest

Country *

reCAPTCHA logo This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Alta3 Research

Since 1997, Alta3 Research has been empowering organizations and individuals using their expert approach to Cloud, DevOps and Telecom training. We develop and perform technical training via live classroom, online classes and our library of self-paced learning videos and labs....

Read more and show all training delivered by this supplier