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
- ANSIBLE TRAINING OVERVIEW
- Why Ansible?
- Overview of Architecture
- QUIZ: Architecture
- Inventory
- Inventory Patterns
- Inventory Plugins
- QUIZ: Inventory and Patterns
- DEMO: Introducing Ansible
- DEPLOYING ANSIBLE
- Installing
- DEMO: Installing Ansible
- Configuration Files
- DEMO: Configuration Files
- Module Syntax Help
- Running Ad Hoc Commands
- DEMO: Running Ad Hoc Commands
- Dynamic Inventory
- DEMO: Dynamic Inventory
LAB TASKS
- Deploying Ansible
- Ad Hoc Commands
- Dynamic Inventories
- PLAYBOOKS BASICS
- Writing YAML Files
- Playbook Structure
- Host and Task Execution Order
- Command Modules
- Significant Module Categories
- File Manipulation
- Network Modules
- Packaging Modules
- System Storage
- Account Management
- Security
- Services
- DEMO: Playbooks
LAB TASKS
- Playbook Basics
- Playbooks: Command Modules
- Playbooks: Common Modules
- VARIABLES AND INCLUSIONS
- Variables
- Variables – Playbooks
- Variables – Inventory
- Variables – Registered
- Facts
- DEMO: Facts
- Inclusions
LAB TASKS
- Variables and Facts
- Inclusions
- JINJA2 TEMPLATES
- Jinja2
- Expressions
- QUIZ: Jinja2 Templates
- Filters
- Tests
- Lookups
- Control Structures
- DEMO: Jinja2 Templates
LAB TASKS
- Jinja2 Templates
- Jinja2 Templates
- TASK CONTROL
- Loops
- Loops (cont.)
- Loops and Variables
- DEMO: Constructing Flow Control
- Conditionals
- DEMO: Conditionals
- Handlers
- Tags
- Handling Errors
LAB TASKS
- Task Control
- ROLES
- Roles
- Role Usage Details
- QUIZ: Role Structure
- Creating Roles
- Deploying Roles with Ansible Galaxy
- DEMO: Deploying Roles with Ansible Galaxy
LAB TASKS
- Converting Playbooks to Roles
- Creating Roles from Scratch
- Ansible Galaxy Roles
- ANSIBLE VAULT
- Configuring Ansible Vault
- Vault IDs
- Executing with Ansible Vault
- DEMO: Configuring Ansible Vault
LAB TASKS
- Ansible Vault
- NETWORK AUTOMATION
- Network Automation
- Simple Network Module Examples
- Network Modules: Gotchas
- Simple IOS Modules Examples
- General Purpose ios Modules