mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +00:00
Add test for python2.6 json bug to its own file
This commit is contained in:
@@ -22,6 +22,9 @@
|
|||||||
|
|
||||||
- debug: var=some_registered_var
|
- 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
|
- name: fill in a basic template
|
||||||
template: src=foo.j2 dest={{output_dir}}/foo.templated mode=0644
|
template: src=foo.j2 dest={{output_dir}}/foo.templated mode=0644
|
||||||
register: template_result
|
register: template_result
|
||||||
|
|||||||
@@ -0,0 +1,2 @@
|
|||||||
|
Provoke a python2.6 json bug
|
||||||
|
{{ hostvars | to_nice_json }}
|
||||||
Reference in New Issue
Block a user