Course Description

1.Introduction To Ansible

Ansible Basics
Ansible vs. Other Tools
Very brief history and reason for development of Ansible
Brief comparison with Saltstack and others
Benefits and limitations of using Ansible
Introduction to YAML
YAML Examples

2. The Essentials Of Configuration And Deployment

What we can do with Ansible
Our goals before, and our goals now

 Setting Up


4. Playbooks:

Ansible Playbooks
Configuring Your ‘Ansible’ Account
Ansible Command Line
System Facts
System Facts: Common Values for Playbooks
Our First Playbook

 Quick Examples

Deploying configuration of Apache server
Managing changes in the configuration

5.Outlining Your Playbook

Create a Playbook from Our Outline
Optimizing Your Playbook
Taking Our Playbook for a Dry Run
Asychronous Polling
Simple Variable Substitution
Local Actions

6. Dry Run

Delegation, Rolling Updates and Local Actions
Running playbooks interactively
Prompt – Interactive Playbook
Basic Include Statements
Basic Error Handling
Includes – Breaking Your Playbook Into Discrete Plays
Starting At Task or Stepping Through All Tasks
Passing Variables Into Playbooks at the Command Line
Using Jinja2 Templates

6.Dealing With Modules

Installing Modules
Overview of commonly used modules
Ansible Documentation: Modules
Setup and Configuration
Test Environment Setup
Download and Installation
Ansible Configuration File
Ansible Python Dependencies

7. Other

Ansible Tower
Ansible Galaxy
Testing Strategies
YAML Syntax

8.The HOSTS File

Overriding the Default HOSTS File
Overriding the Default System Ansible.Cfg File
Overriding the Default Roles Path

9.Variables: Inclusion Types

Target Section
Variable Section
Task Section
Handler Section