Show as: Mobile

Network Automation Using Python and Ansible

Alta3 Research
Training overview
Professional Course
5 days
Start dates
Private Team Training delivered Virtually

United States of America
Private Team Training delivered on-site or virtually

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.

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

About Alta3

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

Contact this 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 *

Contact info

Alta3 Research

 Show phone number


Average rating 4.8

Based on 4 reviews.

2020 Student
It was a very informative course with many useful samples and practicality. Thank you very much.
2020 Student
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
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 in the subject matter and quickly answered all our questions.
Contact provider

Have a question about this course? Fill out this form and the provider will get in touch with you shortly

Training reviews
Course rating
Based on 4 reviews.

Need help with your search? offers a free consultancy service to help compare training for you and your team

Request a free quote

Request a free training quote