mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-08-06 22:24:23 -07:00
* Improve readability.
* Move common code to new file.
(cherry picked from commit 167153bff5
)
Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
2ff06d2fdf
commit
34c164dc78
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