Ansible (GL380) (H8Q13S) – Outline

Detailed 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
  • Variables—magic
  • Facts
  • Demo: Facts
  • Inclusions
  • Lab tasks
    • Variables and facts
    • Inclusions
Jinja2 Templates
  • Jinja2
  • The template module
  • Expressions
  • Quiz: Jinja2 templates
  • Filters
  • Methods
  • Tests
  • Lookups
  • Control structures
  • Demo: Jinja2 templates
  • Lab tasks
    • Jinja2 templates
Task Control
  • Loops
  • Loops and variables
  • Demo: Constructing flow control
  • Conditionals
  • Demo: Conditionals
  • Handlers
  • Tags
  • Handling errors
  • Lab tasks
    • Task control
Roles
  • 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
Optimizing Ansible
  • Connection types
  • Delegation
  • Parallelism
  • Callback plugins
  • Lab tasks
    • Optimizing Ansible
Ansible Vault
  • Configuring Ansible Vault
  • Vault IDs
  • Executing with Ansible Vault
  • Demo: Configuring Ansible Vault
  • Lab tasks
    • Ansible Vault
Appendix A: Network automation
  • Network automation
  • Simple network module examples
  • Network modules: Gotchas
  • Simple IOS modules Examples
  • General purpose ios modules