group

A named set of hosts in an inventory, used both to target them together and to attach variables that are true of all of them.

In more detail

In an INI inventory a group is a heading in square brackets; in YAML it is a key with hosts under it. A host can belong to several groups, and a group can contain other groups, whose hosts then count as members of the parent too. Two groups always exist without being declared: all and ungrouped.

Related terms

Taught in

References

Certification courses