Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
ansible
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
ansible
Commits
e69299f0
Commit
e69299f0
authored
Jan 12, 2015
by
Toshio Kuratomi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
iRemove pretty print to_nice_json test -- the test fails on python2.6
without simplejson
parent
8bcd2b8f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
17 deletions
+0
-17
test/integration/roles/test_filters/files/foo.txt
+0
-11
test/integration/roles/test_filters/templates/foo.j2
+0
-4
test/integration/roles/test_filters/templates/py26json.j2
+0
-2
No files found.
test/integration/roles/test_filters/files/foo.txt
View file @
e69299f0
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.
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
- this is a list element
...
...
test/integration/roles/test_filters/templates/foo.j2
View file @
e69299f0
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.
Dumping a nested structure to JSON
{{ some_structure | to_nice_json }}
Dumping the same structure to YAML
{{ some_structure | to_nice_yaml }}
...
...
test/integration/roles/test_filters/templates/py26json.j2
deleted
100644 → 0
View file @
8bcd2b8f
Provoke a python2.6 json bug
{{ hostvars | to_nice_json }}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment