YAML list

An ordered series of values, written in YAML as lines that each start with a dash and a space.

In more detail

Each item can itself be a value, a mapping or another list. Lists keep their order, unlike the keys of a mapping.

Example

A playbook is a list of plays, and tasks is a list of tasks, which is why each begins with a dash.

Related terms

Taught in

References

Certification courses