The audience for this course is 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. Version: C01
Prerequisites
- Experience with Linux shell, text editing, and basic systems administration needed.
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
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
NETWORK AUTOMATION
- Network Automation
- Simple Network Module Examples
- Network Modules: Gotchas
- Simple IOS Modules Examples
- General Purpose ios Modules
HSG courses are taught by the experienced instructors who are proven experts in their field. Our instructors are highly knowledgeable, friendly, reliable and inspiring. They speak and teach industry's best practices and often customize classes to meet individual needs.
Students are encouraged to ask questions and participate in discussions and training-labs.