thinQmaster Virtual testing partner Adaptive practice exams that find your weak spots and drill them. Every answer explained. From $69
Enroll

thinQmaster

Find your exam

Five questions free, before you decide.

Step 1 · choose a vendor

In one of our camps? Your practice exams come with the tuition — they are on your study page already.

DevOps & Automation · Foundational

Ansible Inventory

The list of managed hosts and groups, with variables, that Ansible targets, written in INI or YAML or generated dynamically.

Definition

Static inventories define groups and host_vars/group_vars; dynamic inventory plugins query sources such as AWS, Azure, NetBox, or VMware. Special groups are all and ungrouped.

Example

[routers] r1 ansible_host=10.1.1.1 ansible_network_os=cisco.ios.ios

Exam tip

Use group_vars/ and host_vars/ directories for variable organization; dynamic inventory for cloud.

Related terms