The audience for this course is system's administrators desiring to automate provisioning, configuration management, service deployment, operational processes on Red Hat Enterprise Linux. 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.
Version: A00
Prerequisites:
Experience with Linux shell, text editing, and basic Linux systems administration needed.
Supported Distributions:
Red Hat Enterprise Linux 8
Course Outline:
- Ansible Overview
- Why Ansible?
- Overview of Architecture
- QUIZ: Architecture
- Inventory
- Inventory Patterns
- Inventory Plugins
- QUIZ: Inventory and Patterns
- DEMO [Required]: Introducing Ansible
- Deploying Ansible
- Installing
- DEMO: Installing Ansible
- Configuration Files
- DEMO: Configuration Files
- Module Syntax Help
- Running Ad-Hoc Commands
- DEMO [Required]: Ad-Hoc Commands
- Dynamic Inventory
- DEMO [Required]: Dynamic Inventory
- 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
- Playbook Basics
- Playbooks: Command Modules
- Playbooks: Common Modules
- Variables and Inclusions
- Variables
- Variables – Playbooks
- Variables – Inventory
- Variables – Registered
- Variables – Magic
- Facts
- DEMO: Facts
- Inclusions
- Variables and Facts
- Inclusions
- Jinja2 Templates
- Jinja2
- The template Module
- Expressions
- QUIZ: Jinja2 Templates
- Filters
- Methods
- Tests
- Lookups
- Control Structures
- DEMO: Jinja2 Templates
- Jinja2 Templates Basics
- Jinja2 Templates
- Task Control
- Loops
- Loops and Variables
- DEMO: Constructing Flow Control
- Conditionals
- DEMO: Conditionals
- Handlers
- Tags
- Handling Errors
- Task Control
- Roles
- Roles
- Role Usage Details
- Creating Roles
- QUIZ: Role Structure
- Deploying Roles with Ansible Galaxy
- DEMO: Deploying Roles with Ansible Galaxy
- Converting Playbooks to Roles
- Creating Roles from Scratch
- Ansible Galaxy Roles
- Optimizing Ansible
- Connection Types
- Delegation
- Parallelism
- Callback Plugins
- Optimizing Ansible
- Ansible Vault
- Configuring Ansible Vault
- Vault IDs
- Executing with Ansible Vault
- DEMO: Configuring Ansible Vault
- Ansible Vault
- Network Automation
- Network Automation
- Simple Network Module Examples
- Network Modules: Gotchas
- Simple IOS Modules Examples
- General Purpose ios Modules