mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
documented type based behaviour
This commit is contained in:
parent
7a94d566e5
commit
12016b95a8
1 changed files with 1 additions and 0 deletions
|
@ -309,6 +309,7 @@ To get a random list from an existing list::
|
||||||
{{ ['a','b','c']|shuffle }} => ['c','a','b']
|
{{ ['a','b','c']|shuffle }} => ['c','a','b']
|
||||||
{{ ['a','b','c']|shuffle }} => ['b','c','a']
|
{{ ['a','b','c']|shuffle }} => ['b','c','a']
|
||||||
|
|
||||||
|
note that when used with a non 'listable' item it is a noop, otherwise it always returns a list
|
||||||
|
|
||||||
.. _other_useful_filters:
|
.. _other_useful_filters:
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue