mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-02 16:53:11 +00:00
Something's strange... let's see if python2.6 is really the same now...
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user