mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 05:42:50 +00: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:
@@ -62,6 +62,7 @@
|
||||
- name: Ensure backports.lzma is present to create test archive (pip)
|
||||
pip: name=backports.lzma state=latest
|
||||
when: ansible_python_version.split('.')[0] == '2'
|
||||
register: backports_lzma_pip
|
||||
|
||||
- name: prep our file
|
||||
copy: src={{ item }} dest={{output_dir}}/{{ item }}
|
||||
@@ -328,3 +329,7 @@
|
||||
|
||||
- name: remove nonascii test
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user