mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 13:52:54 +00:00
iRemove pretty print to_nice_json test -- the test fails on python2.6
without simplejson
This commit is contained in:
@@ -1,17 +1,6 @@
|
|||||||
This is a test of various filter plugins found in Ansible (ex: core.py), and
|
This is a test of various filter plugins found in Ansible (ex: core.py), and
|
||||||
not so much a test of the core filters in Jinja2.
|
not so much a test of the core filters in Jinja2.
|
||||||
|
|
||||||
Dumping a nested structure to JSON
|
|
||||||
|
|
||||||
[
|
|
||||||
"this is a list element",
|
|
||||||
{
|
|
||||||
"this": "is a hash element in a list",
|
|
||||||
"warp": 9,
|
|
||||||
"where": "endor"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
|
|
||||||
Dumping the same structure to YAML
|
Dumping the same structure to YAML
|
||||||
|
|
||||||
- this is a list element
|
- this is a list element
|
||||||
|
|||||||
@@ -1,10 +1,6 @@
|
|||||||
This is a test of various filter plugins found in Ansible (ex: core.py), and
|
This is a test of various filter plugins found in Ansible (ex: core.py), and
|
||||||
not so much a test of the core filters in Jinja2.
|
not so much a test of the core filters in Jinja2.
|
||||||
|
|
||||||
Dumping a nested structure to JSON
|
|
||||||
|
|
||||||
{{ some_structure | to_nice_json }}
|
|
||||||
|
|
||||||
Dumping the same structure to YAML
|
Dumping the same structure to YAML
|
||||||
|
|
||||||
{{ some_structure | to_nice_yaml }}
|
{{ some_structure | to_nice_yaml }}
|
||||||
|
|||||||
@@ -1,2 +0,0 @@
|
|||||||
Provoke a python2.6 json bug
|
|
||||||
{{ hostvars | to_nice_json }}
|
|
||||||
Reference in New Issue
Block a user