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

Something's strange... let's see if python2.6 is really the same now...

This commit is contained in:
Toshio Kuratomi 2015-12-02 14:48:27 -08:00
parent 9bf1aaf7f5
commit ac54ac618c

View file

@ -48,11 +48,13 @@
- name: copy known good into place
copy: src=foo.txt dest={{output_dir}}/foo.txt
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'
# 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