About this class
This course offers a deep dive into the world of IT automation, leveraging the power and simplicity of Ansible. This course is designed to cater to both beginners and seasoned professionals in the realm of system administration and DevOps. It starts with a comprehensive overview of Ansible, illustrating why it's a preferred automation tool due to its simplicity, scalability, and the ability to handle complex tasks with ease. The course progresses from fundamental concepts, such as Ansible's architecture and inventory management, to more advanced topics including dynamic inventories and ad-hoc commands, ensuring a solid foundation is laid before advancing to more complex subjects.
A significant focus of the course is on Ansible Playbooks, the heart of Ansible's automation capability, where students learn to write YAML files and structure playbooks for efficient task management across diverse IT environments. Through practical examples and detailed instructions, the course covers a broad spectrum of modules for command execution, file manipulation, networking, and more, providing the tools necessary to automate nearly any aspect of a modern IT infrastructure. The course also delves into variables and facts, offering insights into dynamic data management and how to leverage data within playbooks for more dynamic and flexible automation strategies.
Advanced sections of the course introduce participants to Jinja2 templates, enhancing the dynamic generation of files based on variable data, and task control techniques to manage task flow within playbooks effectively. The concept of roles is thoroughly explored, teaching students how to package automation in reusable components, further streamlining the automation process. With a nod towards security and optimization, the course covers Ansible Vault for secure data management and various optimization strategies to make automation faster and more reliable. Network automation is also touched upon, addressing the growing need for automated network operations. By the end of the course, participants are expected to have a robust understanding of Ansible's capabilities and be well-equipped to implement and manage automation workflows in their organizations.
What you'll be able to do
- Ansible Overview
- Deploying Ansible
- Playbooks Basics
- Variables and Inclusions
- Jinja2 Templates
- Task Control
- Roles
- Optimizing Ansible
- Ansible Vault
- Network Automation
Course outline
Module 1Ansible Overview
- Why Ansible?
- Overview of Architecture
- QUIZ: Architecture
- Inventory
- Inventory Patterns
- Inventory Plugins
- QUIZ: Inventory and Patterns
Module 2Deploying Ansible
- Installing
- DEMO: Installing Ansible
- Configuration Files
- DEMO: Configuration Files
- Module Syntax Help
- Running Ad- Hoc Commands
- Hoc Commands
- Dynamic Inventory
- Lab Tasks
- Deploying Ansible
- Ad - Hoc Commands
- Dynamic Inventories
Module 3Playbooks 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
Module 4Variables and Inclusions
- Variables
- Variables – Playbooks
- Variables – Inventory
- Variables – Registered
- Variables – Magic
- Facts
- DEMO: Facts
- Inclusions
- Lab Tasks
- Variables and Facts
- Inclusions
Module 5Jinja2 Templates
- Jinja2
- The template Module
- Expressions
- QUIZ: Jinja2 Templates
- Filters
- Methods
- Tests
- Lookups
- Control Structures
- DEMO: Jinja2 Templates
- Lab Tasks
- Jinja2 Templates Basics
- Jinja2 Templates
Module 6Task Control
- Loops
- Loops and Variables
- DEMO: Constructing Flow Control
- Conditionals
- DEMO: Conditionals
- Handlers
- Tags
- Handling Errors
- Lab Tasks
- Task Control
Module 7Roles
- Roles
- Role Usage Details
- Creating Roles
- QUIZ: Role Structure
- Deploying Roles with Ansible Galaxy
- DEMO: Deploying Roles with Ansible Galaxy
- Lab Tasks
- Converting Playbooks to Roles
- Creating Roles from Scratch
- Ansible Galaxy Roles
Module 8Optimizing Ansible
- Connection Types
- Delegation
- Parallelism
- Callback Plugins
- Lab Tasks
- Optimizing Ansible
Module 9Ansible Vault
- Configuring Ansible Vault
- Vault IDs
- Executing with Ansible Vault
- DEMO: Configuring Ansible Vault
- Lab Tasks
- Ansible Vault
Module 10Network Automation
- Network Automation
- Simple Network Module Examples
- Network Modules: Gotchas
- Simple IOS Modules Examples
- General Purpose ios Modules
Download the full outline (PDF)
Before you attend
Experience with Linux shell, text editing, and basic Linux systems administration needed. Supported Distributions: Red Hat Enterprise Linux 8
Run this for a team
Private cohorts run on your dates, at your site or online, with the labs pointed at your environment. Above about four people it usually costs less than buying seats.
More digital transformation classes
Advanced Architecting on AWS
- $2,025 per seat
AWS Cloud Practitioner Essentials
- $695 per seat
3 dates on the calendar
Certified Agile Service Manager (CASM)
- $1,590 per seat
