Udemy Ansible for Network Automation – Hands On!!

Video Introducing this tutorial


Introduction :
Ansible Introduction

Environment Setup :
Introduction
Install Ansible on Mac
Windows - WSL setup
Install Ansible on Windows(WSL)
Multi-Version Ansible Support(Mac)
Important notes for Windows WSL User
Visual Studio Code as IDE
Visual Studio Code on Windows(WSL)
Doc: VSCode Links and Extensions
Prepare Network Devices/Topology
Prepare one Linux Machine
Vagrant Demo (Optional)
Why Ansible 2.9.x?
Ansible Documentation
ansible.cfg
Questions about Ansible installations

Ansible Core Concepts :
Introduction
YAML Introduction
Inventory
Host Variables and Group Variables
Q: Host Variables and Group Variables
Some Pre-defined Host Variables
Ansible Modules
Ansible ad-hoc command and Module
Limitation of Ansible ad-hoc task
Ansible Playbook
Create Our First Ansible Playbook
Ansible Playbook Execution
Ansible Facts
ansible-doc command

Templating :
Introduction
Why Template?
Ansible Variable and Template
Ansible Template Module
Jinja2 Templates advanced Usage
Template Filter
Jinja2 Template and Cisco cfg

Loops and Conditionals :
Introduction
Loops
Conditions

Network Modules -- Cisco :
Introduction
Ansible ad-hoc with Cisco devices
How to find Ansible Network Module
Demo: Cisco ios_command module
How to deal with Return values
Demo: Cisco ios_config module
Summary

Project: Cisco running-cfg Backup :
Introduction
Project Demo
Create cfg Backup per Router
GitLab Preparation
Push Cisco backup cfg file to GitLab
Update existing cfg on GitLab
Improvements: disable logging and remove cfg file from local disk
Multiple plays in one playbook
Avoid Empty Git Commit
TODO
Best Practise: Inventory Layout
Introduction
Development Environment and Production Environment
Group Vars and Host Vars

Encrypting content with Ansible Vault :
ansible-vault introduction
ansible-vault encrypt string
ansible-vault encrypt files
A small tip

Regular Expression Filters with Cisco Module :
Introduction
Demo: regex_findall
Homework Demo

©2021 | All rights reserved.