diff options
author | Brian Coca <brian.coca+git@gmail.com> | 2014-10-08 10:58:48 -0400 |
---|---|---|
committer | Brian Coca <brian.coca+git@gmail.com> | 2014-10-08 10:58:48 -0400 |
commit | 12016b95a8fd202e1a56a5c570fcd41e0b1fd367 (patch) | |
tree | 59f5469dfa9831668f5888111f24670e875181b7 | |
parent | 7a94d566e55e9cd8309260208403fd26ccde2ece (diff) | |
download | ansible-12016b95a8fd202e1a56a5c570fcd41e0b1fd367.tar.gz |
documented type based behaviour
-rw-r--r-- | docsite/rst/playbooks_variables.rst | 1 |
1 files changed, 1 insertions, 0 deletions
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: |