mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 04:40:22 -07:00
pip: Fix the mistake replacement from 'distribute' to 'setuptools' (#47403)
* Fix the mistake replace from distribute to setuptools * Add a testcase for this bug
This commit is contained in:
parent
3a9eadb22f
commit
93c5781f61
2 changed files with 14 additions and 2 deletions
|
@ -499,3 +499,15 @@
|
|||
pip:
|
||||
name: "{{ pip_test_packages }}"
|
||||
state: absent
|
||||
|
||||
# https://github.com/ansible/ansible/issues/47198
|
||||
- name: try to remove distribute
|
||||
pip:
|
||||
state: "absent"
|
||||
name: "distribute"
|
||||
ignore_errors: yes
|
||||
register: remove_distribute
|
||||
|
||||
- name: inspect the cmd
|
||||
assert:
|
||||
that: "'distribute' in remove_distribute.cmd"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue