mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-27 18:50:21 -07:00
Uninstall backports.lzma in archive test.
This avoids breaking other tests which depend on backports modules, since the backports.lzma module is currently incompatible with other backports modules.
This commit is contained in:
parent
bcd883ce5e
commit
f2f743aef0
1 changed files with 5 additions and 0 deletions
|
@ -62,6 +62,7 @@
|
||||||
- name: Ensure backports.lzma is present to create test archive (pip)
|
- name: Ensure backports.lzma is present to create test archive (pip)
|
||||||
pip: name=backports.lzma state=latest
|
pip: name=backports.lzma state=latest
|
||||||
when: ansible_python_version.split('.')[0] == '2'
|
when: ansible_python_version.split('.')[0] == '2'
|
||||||
|
register: backports_lzma_pip
|
||||||
|
|
||||||
- name: prep our file
|
- name: prep our file
|
||||||
copy: src={{ item }} dest={{output_dir}}/{{ item }}
|
copy: src={{ item }} dest={{output_dir}}/{{ item }}
|
||||||
|
@ -328,3 +329,7 @@
|
||||||
|
|
||||||
- name: remove nonascii test
|
- name: remove nonascii test
|
||||||
file: path="{{ output_dir }}/test-archive-nonascii-くらとみ.zip" state=absent
|
file: path="{{ output_dir }}/test-archive-nonascii-くらとみ.zip" state=absent
|
||||||
|
|
||||||
|
- name: Remove backports.lzma if previously installed (pip)
|
||||||
|
pip: name=backports.lzma state=absent
|
||||||
|
when: backports_lzma_pip is changed
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue