mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-03 15:04:02 -07:00
[PR #10822/0911db45 backport][stable-11] pipx: review tests (#10824)
pipx: review tests (#10822)
(cherry picked from commit 0911db457e
)
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
This commit is contained in:
parent
e1eb88def5
commit
0dfa80d386
7 changed files with 23 additions and 45 deletions
|
@ -7,7 +7,7 @@
|
|||
environment:
|
||||
PATH: /usr/local/bin:{{ ansible_env.PATH }}
|
||||
block:
|
||||
- name: Uninstall pycowsay and black
|
||||
- name: Uninstall pycowsay
|
||||
community.general.pipx:
|
||||
state: uninstall
|
||||
name: pycowsay
|
||||
|
@ -54,11 +54,7 @@
|
|||
- name: Uninstall pycowsay and black (again)
|
||||
community.general.pipx:
|
||||
state: uninstall
|
||||
name: "{{ item }}"
|
||||
loop:
|
||||
- black
|
||||
- pycowsay
|
||||
register: uninstall_all_2
|
||||
name: pycowsay
|
||||
|
||||
- name: Assert uninstall-all
|
||||
ansible.builtin.assert:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue