Ansible Training

Ansible Devops Training

This introductory Ansible Training course is targeted for the budding Devops professionals, experienced sys-admins and enthusiasts alike who are already using Ansible, or intend to use it to automate configuration management, system integration and manage scalable infrastructures with ease.

This Hands-on Corporate Training will make participants aware of what is Ansible and what are it’s core concepts as well as help them get started with writing infrastructure as code.

The training program is delivered both as a Classroom as well as an online program depending on the client requirement and the participants availability. The program is delivered by highly experienced instructors having delivered numerous program to demanding organizations across the globe.

3 Days

  • Basic understanding of Linux/Unix system concepts
  • Familiarity with Command Line Interface (CLI)
  • Familiarity with a Text Editor

Introduction to Ansible and Devops

  • What is Dev-ops
  • What is Ansible
  • Comparison with other automation tools

Setting up Learning Environment

  • Vagrant overview /quick demo
  • Additional Setup Tasks

Inventorying your Infrastructure

  • What is Hosts Inventory?
  • Hosts and Groups
  • Host/Group Variables
  • Dynamic Inventory

Building Patterns

  • Grouping Hosts with Patterns
  • Ansible Host Patterns & Roles
  • Building Patterns

Ad Hoc Server Management

  • Running one time tasks/commands
  • Running commands in parallel
  • File Transfer
  • Managing Packages
  • Managing Users
  • Deploying from Source Control
  • Managing Services

Playbooks – the real magic

  • Introduction to Ansible Playbooks
  • Plays
  • Tasks
  • Actions
  • Modules

Roles for Modularizing Code

  • Playbook Roles and Include Statements
  • Directory Layout for Modules
  • Notifications and Handlers
  • Writing a simple module to install a web server

Variables and Templates

  • Variables and Facts
  • Variable Precedence
  • Registered Variables
  • Metadata
  • Static Contents Explosion
  • Using Dynamic Content with Templates
  • Templates Overview
  • Jinja

Modules Deep Dive

  • What are Ansible Modules
  • Types of Modules
  • Writing Modules

Advanced Playbook Topics

  • Accelerated Mode
  • Asynchronous Actions and Polling
  • Dry Run
  • Setting the Environment
  • Error Handling
  • Lookups
  • Prompts
  • Tags
  • Ansible Vault: Encrypting Data
  • Ansible Cloud Integrations

Troubleshooting and Best Practices

  • Troubleshooting
  • Best Practices
  • Continuous Delivery and Rolling Updates