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:
parent
9bf1aaf7f5
commit
ac54ac618c
1 changed files with 6 additions and 4 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue