1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Add test for python2.6 json bug to its own file

This commit is contained in:
Toshio Kuratomi 2015-01-12 10:20:28 -08:00
parent 91f9d84930
commit d83648bb82
2 changed files with 5 additions and 0 deletions

View file

@ -22,6 +22,9 @@
- debug: var=some_registered_var
- name: Verify that we workaround a py26 json bug
template: src=py26json.j2 dest={{output_dir}}/py26json.templated mode=0644
- name: fill in a basic template
template: src=foo.j2 dest={{output_dir}}/foo.templated mode=0644
register: template_result

View file

@ -0,0 +1,2 @@
Provoke a python2.6 json bug
{{ hostvars | to_nice_json }}