keyed group

An inventory plugin setting that creates one group for each distinct value of a host attribute, named from a prefix and the value.

In more detail

With key: role and prefix: role, hosts whose role is web land in role_web. In a cloud the attributes are usually tags, so tagging instances consistently makes the inventory group itself. A host can appear in several keyed groups at once.

Related terms

Taught in

References