Ansible Training Duration

3 Days

Audience:

Employees of federal, state and local governments; and businesses working with the government that are looking for Ansible training courses.

Course Description:

The audience for this course is system’s administrators desiring to automate provisioning, configuration management, service deployment, operational processes. 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, and roles. The course also covers: dealing with sensitive data via Ansible Vault, fundamentals of Ansible Tower, integration with Docker and Vagrant, and troubleshooting.
Supported Distributions:Red Hat Enterprise Linux 7

Prerequisites

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

Outline for Ansible Training

  1. ANSIBLE TRAINING OVERVIEW
    1. Why Ansible?
    2. Overview of Architecture
    3. QUIZ: Architecture
    4. Inventory
    5. Inventory Patterns
    6. Inventory Plugins
    7. QUIZ: Inventory and Patterns
    8. DEMO: Introducing Ansible
  2. DEPLOYING ANSIBLE
    1. Installing
    2. DEMO: Installing Ansible
    3. Configuration Files
    4. DEMO: Configuration Files
    5. Module Syntax Help
    6. Running Ad Hoc Commands
    7. DEMO: Running Ad Hoc Commands
    8. Dynamic Inventory
    9. DEMO: Dynamic Inventory

    LAB TASKS

    1. Deploying Ansible
    2. Ad Hoc Commands
    3. Dynamic Inventories
  3. PLAYBOOKS BASICS
    1. Writing YAML Files
    2. Playbook Structure
    3. Host and Task Execution Order
    4. Command Modules
    5. Significant Module Categories
    6. File Manipulation
    7. Network Modules
    8. Packaging Modules
    9. System Storage
    10. Account Management
    11. Security
    12. Services
    13. DEMO: Playbooks

    LAB TASKS

    1. Playbook Basics
    2. Playbooks: Command Modules
    3. Playbooks: Common Modules
  4. VARIABLES AND INCLUSIONS
    1. Variables
    2. Variables – Playbooks
    3. Variables – Inventory
    4. Variables – Registered
    5. Facts
    6. DEMO: Facts
    7. Inclusions

    LAB TASKS

    1. Variables and Facts
    2. Inclusions
  5. JINJA2 TEMPLATES
    1. Jinja2
    2. Expressions
    3. QUIZ: Jinja2 Templates
    4. Filters
    5. Tests
    6. Lookups
    7. Control Structures
    8. DEMO: Jinja2 Templates

    LAB TASKS

    1. Jinja2 Templates
    2. Jinja2 Templates
  6. TASK CONTROL
    1. Loops
    2. Loops (cont.)
    3. Loops and Variables
    4. DEMO: Constructing Flow Control
    5. Conditionals
    6. DEMO: Conditionals
    7. Handlers
    8. Tags
    9. Handling Errors

    LAB TASKS

    1. Task Control
  7. ROLES
    1. Roles
    2. Role Usage Details
    3. QUIZ: Role Structure
    4. Creating Roles
    5. Deploying Roles with Ansible Galaxy
    6. DEMO: Deploying Roles with Ansible Galaxy

    LAB TASKS

    1. Converting Playbooks to Roles
    2. Creating Roles from Scratch
    3. Ansible Galaxy Roles
  8. ANSIBLE VAULT
    1. Configuring Ansible Vault
    2. Vault IDs
    3. Executing with Ansible Vault
    4. DEMO: Configuring Ansible Vault

    LAB TASKS

    1. Ansible Vault
  1. NETWORK AUTOMATION
    1. Network Automation
    2. Simple Network Module Examples
    3. Network Modules: Gotchas
    4. Simple IOS Modules Examples
    5. General Purpose ios Modules