1
0
Fork 0
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:
Brian Coca 2014-10-08 10:58:48 -04:00
parent 7a94d566e5
commit 12016b95a8

View file

@ -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: