Ansible Training (DOC114)
Course Length: 3 days
Delivery Methods:
Available as private class only
Course Overview
This Ansible training class is for system 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, integration with Docker and Vagrant, networking, and troubleshooting.
Course Benefits
- Understand the fundamental concepts and architecture of Ansible, enhancing your ability to automate IT tasks efficiently.
- Learn how to set up and manage inventories in Ansible, including using patterns and plugins for dynamic environments.
- Gain hands-on experience through multiple demos and lab tasks that reinforce the practical application of Ansible concepts.
- Become proficient in deploying and configuring Ansible, from installation to executing ad hoc commands and setting up configuration files.
- Master the creation and management of playbooks, learning to write effective YAML files and structure complex tasks.
- Explore significant Ansible modules for file manipulation, networking, packaging, system storage, and security, increasing your operational capabilities.
- Develop advanced skills in managing variables, facts, and inclusions within playbooks to create more dynamic and adaptable automation scripts.
- Utilize Jinja2 templates for advanced configuration management, learning how to apply expressions, filters, tests, and control structures effectively.
- Implement effective task control strategies, including loops, conditionals, handlers, and tags to fine-tune task executions and error handling.
- Create and deploy reusable Ansible roles using Ansible Galaxy, streamlining your automation tasks and enhancing scalability and maintainability.
- Secure your Ansible configurations and sensitive data using Ansible Vault, learning to configure and execute tasks with vaulted credentials.
Course Outline
- Ansible 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
Class Materials
Each student will receive a comprehensive set of materials, including course notes and all the class examples.
Class Prerequisites
Experience in the following is required for this DevOps class:
- Experience with Linux shell, text editing, and basic systems administration needed.
Live Private Class
- Private Class for your Team
- Live training
- Online or On-location
- Customizable
- Expert Instructors