mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-06-30 07:50:43 +00:00
Fixing template integration test for python 2.6 versions
No longer immediately fallback to to_json if simplejson is not installed
This commit is contained in:
parent
fd4ad2c8f2
commit
857456ea5f
2 changed files with 3 additions and 8 deletions
|
|
@ -49,13 +49,6 @@
|
|||
- name: copy known good into place
|
||||
copy: src=foo.txt dest={{output_dir}}/foo.txt
|
||||
|
||||
# Seems that python-2.6 now outputs the same format as everywhere else?
|
||||
# when: pyver.stdout != '2.6'
|
||||
|
||||
#- name: copy known good into place
|
||||
# copy: src=foo-py26.txt dest={{output_dir}}/foo.txt
|
||||
# when: pyver.stdout == '2.6'
|
||||
|
||||
- name: compare templated file to known good
|
||||
shell: diff {{output_dir}}/foo.templated {{output_dir}}/foo.txt
|
||||
register: diff_result
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue