mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-08-08 23:24:21 -07:00
Improve docker test setups (#1161)
* Improve readability. * Move common code to new file.
This commit is contained in:
parent
a93fce6755
commit
167153bff5
5 changed files with 131 additions and 143 deletions
|
@ -1,11 +1,11 @@
|
|||
- name: remove pip packages
|
||||
- name: Remove pip packages
|
||||
pip:
|
||||
state: present
|
||||
name: "{{ [docker_pip_package] | union(docker_pip_extra_packages) }}"
|
||||
listen: cleanup docker
|
||||
when: not docker_skip_cleanup | bool
|
||||
|
||||
- name: remove docker pagkages
|
||||
- name: Remove docker pagkages
|
||||
action: "{{ ansible_facts.pkg_mgr }}"
|
||||
args:
|
||||
name: "{{ docker_cleanup_packages }}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue