diff --git a/docsite/rst/playbooks_variables.rst b/docsite/rst/playbooks_variables.rst index ba85210293..2f1704139b 100644 --- a/docsite/rst/playbooks_variables.rst +++ b/docsite/rst/playbooks_variables.rst @@ -309,6 +309,7 @@ To get a random list from an existing list:: {{ ['a','b','c']|shuffle }} => ['c','a','b'] {{ ['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: