Ansible Training

Duration

4 Days

Audience:

Employees of federal, state and local governments; and businesses working with the government.

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

  1. ANSIBLE OVERVIEW
    1. Overview of Architecture
    2. QUIZ: Architecture
    3. Overview of Deployments
    4. QUIZ: Deployments
    5. Inventory
    6. QUIZ: Inventory
    7. QUIZ: Introducing Ansible
  2. DEPLOYING ANSIBLE
    1. Installing
    2. DEMO: Installing
    3. Configuration Files
    4. DEMO: Configuration Files
    5. Running Ad Hoc Commands
    6. DEMO: Running Ad Hoc Commands
    7. Dynamic Inventory
    8. DEMO: Dynamic Inventory

    LAB TASKS

    1. Deploying Ansible
  3. PLAYBOOKS
    1. Writing YAML Files
    2. DEMO: Writing YAML Files
    3. Modules
    4. DEMO: Modules
    5. DEMO: Playbooks

    LAB TASKS

    1. Playbooks
  4. VARIABLES AND INCLUSIONS
    1. Variables
    2. DEMO: Variables
    3. Facts
    4. DEMO: Facts
    5. Inclusions
    6. DEMO: Inclusions

    LAB TASKS

    1. Variables and Inclusions
  5. TASK CONTROL
    1. Constructing Flow Control
    2. DEMO: Constructing Flow Control
    3. Handlers
    4. DEMO: Handlers
    5. Tags
    6. DEMO: Tags
    7. Handling Errors
    8. DEMO: Handling Errors

    LAB TASKS

    1. Task Control
  6. JINJA2 TEMPLATES
    1. Jinja2 Templates
    2. QUIZ: Jinja2 Templates
    3. Jinja2 Templates
    4. DEMO: Jinja2 Templates

    LAB TASKS

    1. Jinja2 Templates
  7. ROLES
    1. Role Structure
    2. QUIZ: Role Structure
    3. Creating Roles
    4. DEMO: Creating Roles
    5. Deploying Roles with Ansible Galaxy
    6. DEMO: Deploying Roles with Ansible Galaxy

    LAB TASKS

    1. Roles
  8. OPTIMIZING ANSIBLE
    1. Configuring Connection Types
    2. DEMO: Configuring Connection Types
    3. Configuring Delegation
    4. DEMO: Configuring Delegation
    5. Configuring Parallelism
    6. DEMO: Configuring Parallelism

    LAB TASKS

    1. Optimizing Ansible
  9. ANSIBLE VAULT
    1. Configuring Ansible Vault
    2. DEMO: Configuring Ansible Vault
    3. Executing with Ansible Vault
    4. DEMO: Executing with Ansible Vault

    LAB TASKS

    1. Ansible Vault
  10. TROUBLESHOOTING ANSIBLE
    1. Troubleshooting Playbooks
    2. DEMO: Troubleshooting Playbooks
    3. TroubleshootingManaged Hosts
    4. DEMO: Troubleshooting Managed Hosts

    LAB TASKS

    1. Troubleshooting
  11. ANSIBLE TOWER
    1. Ansible Tower overview
    2. QUIZ: Ansible Tower features
    3. Installing
    4. DEMO: Installing
    5. Account management
    6. DEMO: Configuring Users
    7. Hosts
    8. DEMO: Hosts
    9. Jobs
    10. DEMO: Jobs

    LAB TASKS

    1. Ansible Tower
  12. ANSIBLE IN A DEVOPS ENVIRONMENT
    1. Provisioning Vagrant Machines
    2. DEMO: Provisioning Vagrant Machines
    3. Deploying Vagrant in a DevOps Environment
    4. DEMO: Deploying Vagrant in a DevOps Environment
    5. Deploying Docker in a DevOps Environment
    6. DEMO: Deploying Vagrant in a DevOps Environment

    LAB TASKS

    1. Ansible in a DevOps Environment
  13. COMPREHENSIVE REVIEW: AUTOMATION WITH ANSIBLE
    1. Comprehensive Review

    LAB TASKS

    1. Installing and Configuring Ansible
    2. Installing Ansible Tower and Executing Jobs
    3. Creating Roles and using Dynamic Inventory