Ansible Training

Ansible Essentials

Learn about Ansible from Instructors with Real World Expertise.

This 3 day course covers all the core features of Ansible essentials.

Overview:

This course covers all the core Ansible features including: installing and configuring, running ad-hoc commands, understanding modules, creating and using playbooks, variables and inclusion, task control, templates, roles as well as dealing with sensitive data via Ansible Vault.

Target Audience:

  • Architects
  • System Administrators
  • Developers

Structure: 50% theory 50% hands on lab exercises

Prerequisites: Experience with Linux shell, text editing, and basic systems administration needed.

Duration: 3 days

Course Outline:

Ansible Overview

Overview:

  • Why Ansible?
  • Overview of Architecture
  • QUIZ: Architecture
  • Inventory
  • Inventory Patterns
  • QUIZ: Inventory and Patterns
  • DEMO: Introducing Ansible

Deploying Ansible

Overview:

  • Installing
  • DEMO: Installing Ansible
  • Configuration Files
  • DEMO: Configuration Files
  • Module Syntax Help
  • Running Ad Hoc Commands
  • DEMO: Running Ad Hoc Commands
  • Dynamic Inventory
  • DEMO: Dynamic Inventory

Lab Tasks:

  • Deploying Ansible
  • Ad Hoc Commands
  • Dynamic Inventories

Playbook Basics

Overview:

  • Writing YAML Files
  • Modules
  • Command Modules
  • Significant Module Categories
  • File Manipulation
  • Network Modules
  • Packaging Modules
  • System Storage
  • Account Management
  • Security
  • Services
  • Network Automation
  • Simple Network Module Examples
  • Gotchas
  • Simple IOS Modules Examples
  • General Purpose ios Modules
  • DEMO: Playbooks

Lab Tasks:

  • Playbook Basics
  • Playbooks: Command Modules
  • Playbooks: Common Modules

Variables & Inclusions

Overview:

  • Variables
  • Variables – Playbooks
  • Variables – Inventory
  • Variables – Registered
  • Facts
  • DEMO: Facts
  • Inclusions

Lab Tasks:

  • Variables and Facts
  • Inclusions

Task Control

Overview:

  • Loops
  • Loops and Variables
  • DEMO: Constructing Flow Control
  • Conditionals
  • DEMO: Conditionals
  • Handlers
  • Tags
  • Handling Errors

Lab Tasks:

  • Task Control

Jinja2 Templates

Overview:

  • Jinja2
  • Expressions
  • QUIZ: Jinja2 Templates
  • Filters
  • Tests
  • Lookups
  • DEMO: Jinja2 Templates

Lab Tasks:

  • Jinja2 Templates

Roles

Overview:

  • Roles
  • Role Usage Details
  • QUIZ: Role Structure
  • Creating Roles
  • Deploying Roles with Ansible Galaxy
  • DEMO: Deploying Roles with Ansible Galaxy

Lab Tasks:

  • Converting Playbooks to Roles
  • Creating Roles from Scratch
  • Ansible Galaxy Roles

Ansible Vault

Overview:

  • Configuring Ansible Vault
  • Vault ID’s
  • Executing with Ansible Vault
  • DEMO: Configuring Ansible Vault

Lab Tasks:

  • Ansible Vault

Looking for something else? View all courses

Start Learning

Learn from Instructors with Real World Expertise