Ansible Playbooks, Variables, and Handlers
{% for host in groups['all'] %} Host: {{ host }} Hostname: {{ hostvars[host]['ansible_facts']['hostname'] }} OS: {{ hostvars[host]['ansible_facts']['distribution'] }} Memory: {{ hostvars[...
At the end of this training, you will be able to write more powerful and dynamic Ansible playbooks.
Each Ansible playbook is built from a few key components that define what to do, where to do it, and how to do it.
These components form the foundation of structure and automation with Ansible.
Sign in to read this course
A free account unlocks all 514 courses. 20 are readable without one.
What's inside
8 sections- 1 Table of Contents
- 2 Training Introduction and Overview
- 3 Building Advanced Playbooks
- 4 Ansible Facts and Variables
- 5 Handlers and Templates
- 6 Ansible Vault
- 7 Training summary
- 8 Command cheat sheet
More Infrastructure as Code courses
View all 17Terraform: Getting Started
Infrastructure as Code with Terraform — the workflow, HCL, variables, outputs and state on AWS.
Terraform: Providers
Provider fundamentals — adding providers, authenticating and using multiple providers.
Terraform: Variables and Outputs
Input variables, data types, local values and output values via the Burrito Barn AWS scenario.
Terraform: State Fundamentals
What state is, state commands, securing state and importing existing resources.
Terraform: Modules
Module fundamentals, usage, development & design, and publishing and versioning modules.
Terraform: Managing Multiple Configurations
Data sources, remote state sharing and external data sources for cross-configuration sharing.
Interested in this course?
Contact us to book it or get a custom training plan for your team.