From af4d6105a55a5628876cd77619ea1344a944632a Mon Sep 17 00:00:00 2001 From: Toshio Kuratomi Date: Mon, 12 Jan 2015 10:02:44 -0800 Subject: [PATCH] Try to provoke a python2.6 bug to prove we've fixed it --- test/integration/roles/test_filters/templates/foo.j2 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/integration/roles/test_filters/templates/foo.j2 b/test/integration/roles/test_filters/templates/foo.j2 index 6d1dde20c2..69f9ac9489 100644 --- a/test/integration/roles/test_filters/templates/foo.j2 +++ b/test/integration/roles/test_filters/templates/foo.j2 @@ -17,6 +17,9 @@ Dumping the same structure to YAML, but don't pretty print {{ some_structure | to_yaml }} +Dumping hostvars to JSON (exercising a python-2.6 bug) +{{ hostvars | to_nice_json }} + From a recorded task, the changed, failed, success, and skipped filters are shortcuts to ask if those tasks produced changes, failed, succeeded, or skipped (as one might guess).