|
|
@ -48,11 +48,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
- name: copy known good into place
|
|
|
|
- name: copy known good into place
|
|
|
|
copy: src=foo.txt dest={{output_dir}}/foo.txt
|
|
|
|
copy: src=foo.txt dest={{output_dir}}/foo.txt
|
|
|
|
when: pyver.stdout != '2.6'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- name: copy known good into place
|
|
|
|
# Seems that python-2.6 now outputs the same format as everywhere else?
|
|
|
|
copy: src=foo-py26.txt dest={{output_dir}}/foo.txt
|
|
|
|
# when: pyver.stdout != '2.6'
|
|
|
|
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
|
|
|
|
- name: compare templated file to known good
|
|
|
|
shell: diff {{output_dir}}/foo.templated {{output_dir}}/foo.txt
|
|
|
|
shell: diff {{output_dir}}/foo.templated {{output_dir}}/foo.txt
|
|
|
|