September 24, 2026
Ansible Engine Inventory Introduction
In this video, we'll look at Ansible inventory — the file that tells Ansible which hosts to manage and how to connect to them. You'll compare the same inventory written in both INI and YAML, then use the ansible-inventory command to see exactly how Ansible reads it. In the next Lab, you're going to look at Ansible inventory — the file that tells Ansible exactly which hosts it's managing and how to connect to them. You'll compare two versions of the same inventory, one written in INI format and one in YAML, so you can see how the same hosts, groups, and variables look in each style. Then we'll use the ansible-inventory command-line tool to visualize that inventory as a graph and inspect the variables Ansible actually sees at runtime. By the end, you'll be comfortable reading either inventory format and know how to verify what Ansible thinks your environment looks like before you ever run a playbook against it.
In the next Lab, we're going to look at Ansible inventory — the file that tells Ansible exactly which hosts it's managing and how to connect to them. You'll compare two versions of the same inventory, one written in INI format and one in YAML, so you can see how the same hosts, groups, and variables look in each style. Then we'll use the ansible-inventory command line tool to visualize that inventory as a graph and inspect the variables Ansible actually sees at runtime. By the end, you'll be comfortable reading either inventory format and know how to verify what Ansible thinks your environment looks like before you ever run a playbook against it.