summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Whittington <github@whittington.net.nz>2016-08-16 02:41:55 +1200
committerBrian Coca <bcoca@users.noreply.github.com>2016-08-15 10:41:55 -0400
commitb3c686f4c547480af521f4ec4d0b41a890aad394 (patch)
tree61c842dcc259a72289d9bfc7b1ea0c956f01b067
parentf4bd38a153694665686ecbe73995548e1594c15b (diff)
downloadansible-b3c686f4c547480af521f4ec4d0b41a890aad394.tar.gz
Note that to_nice_yaml(indent=X) was new in 2.2 (#17085)
The ability to pass indent parameter to to_nice_yaml was introduced in 2.2, but this is not noted in the docs.
-rw-r--r--docsite/rst/playbooks_filters.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docsite/rst/playbooks_filters.rst b/docsite/rst/playbooks_filters.rst
index 028934db9c..0882c960d9 100644
--- a/docsite/rst/playbooks_filters.rst
+++ b/docsite/rst/playbooks_filters.rst
@@ -27,7 +27,7 @@ For human readable output, you can use::
{{ some_variable | to_nice_json }}
{{ some_variable | to_nice_yaml }}
-It's also possible to change the indentation of both::
+It's also possible to change the indentation of both (new in version 2.2)::
{{ some_variable | to_nice_json(indent=2) }}
{{ some_variable | to_nice_yaml(indent=8) }}