From ce358e70bd457388afe3364a1a8ce230b13dbc30 Mon Sep 17 00:00:00 2001 From: James Cammarata Date: Thu, 20 Feb 2014 13:51:01 -0500 Subject: [PATCH] Added 'expanduser' filter to the docs --- docsite/rst/playbooks_variables.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docsite/rst/playbooks_variables.rst b/docsite/rst/playbooks_variables.rst index 7bbac66cb39..024eadf2a02 100644 --- a/docsite/rst/playbooks_variables.rst +++ b/docsite/rst/playbooks_variables.rst @@ -220,6 +220,10 @@ To get the directory from a path:: {{ path | dirname }} +To expand a path containing a tilde (`~`) character: + + {{ path | expanduser }} + To work with Base64 encoded strings:: {{ encoded | b64decode }}