From 12016b95a8fd202e1a56a5c570fcd41e0b1fd367 Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Wed, 8 Oct 2014 10:58:48 -0400 Subject: [PATCH] documented type based behaviour --- docsite/rst/playbooks_variables.rst | 1 + 1 file changed, 1 insertion(+) 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: