mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 14:22:46 +00:00
Initial commit
This commit is contained in:
14
tests/integration/targets/setup_docker/handlers/main.yml
Normal file
14
tests/integration/targets/setup_docker/handlers/main.yml
Normal file
@@ -0,0 +1,14 @@
|
||||
- name: remove pip packages
|
||||
pip:
|
||||
state: present
|
||||
name: "{{ docker_pip_packages | union(docker_pip_extra_packages) }}"
|
||||
listen: cleanup docker
|
||||
when: not docker_skip_cleanup | bool
|
||||
|
||||
- name: remove docker pagkages
|
||||
action: "{{ ansible_facts.pkg_mgr }}"
|
||||
args:
|
||||
name: "{{ docker_cleanup_packages }}"
|
||||
state: absent
|
||||
listen: cleanup docker
|
||||
when: not docker_skip_cleanup | bool
|
||||
Reference in New Issue
Block a user