Automation with Ansible

Duration:

4 or 5 Days depending on class format

Audience:

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

Course Description:

In this course, you will learn how to use Ansible for automation, configuration, and management. After learning how install and configure Ansible, you will be guide through the steps to create and run playbooks to configure systems. Additionally, you will discover how manage inventories and encryption for Ansible with Ansible Vault; learn how to deploy Ansible Tower; and, discover how to use Tower to manage systems.

Note: You will use Ansible in a DevOps environment with Vagrant.

What You’ll Learn

  • Automate system administration tasks on managed hosts with Ansible
  • Write Ansible playbooks to standardize task execution
  • Centrally manage playbooks and schedule recurring execution through a web interface with Ansible Tower

Prerequisites

RHCSA in Red Hat Enterprise Linux certification or equivalent experience

Who Needs to Attend

System and cloud administrators needing to automate cloud provisioning, configuration management, application deployment, intra-service orchestration, and other IT needs.

Course Outline

1. Course Introduction

2. Introducing Ansible

  • Terminology and architecture of Ansible

3. Deploying Ansible

  • Install Ansible and run ad hoc commands

4. Implementing Playbooks

  • Write Ansible plays and execute a playbook

5. Managing Variables and Inclusions

  • Variable scope and precedence, manage variables and facts in a play, and manage inclusions

6. Implementing Task Control

  • Manage task control, handlers, and tags in Ansible playbooks

7. Implementing Jinja2 Templates

  • Implement a Jinja2 template

8. Implementing Roles

  • Create and manage roles

9. Configuring Complex Playbooks

  • Configure connection types, delegations, and parallelism

10. Implementing Ansible Vault

  • Manage encryption with Ansible Vault

11. Troubleshooting Ansible

  • Troubleshoot the Ansible control machine and managed nodes

12. Implementing Ansible Tower

  • Implement Ansible Tower

13. Implementing Ansible in a DevOps Environment

  • Implement Ansible in a DevOps environment using Vagrant

14. Comprehensive Review

  • Review tasks