mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-27 10:40:22 -07:00
iRemove pretty print to_nice_json test -- the test fails on python2.6
without simplejson
This commit is contained in:
parent
8bcd2b8f9c
commit
e69299f05a
3 changed files with 0 additions and 17 deletions
|
@ -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 }}
|
|
Loading…
Add table
Add a link
Reference in a new issue