# ansible.builtin.unique
Creates a list of unique elements (a set) from the provided input list.

## Examples
```yml
# return only the unique elements of list1
# list1: [1, 2, 5, 1, 3, 4, 10]
{{ list1 | unique }}
# => [1, 2, 5, 3, 4, 10]
```