forked from ISTI-ansible-roles/ansible-roles
38 lines
793 B
YAML
38 lines
793 B
YAML
---
|
|
- name: Remove unneeded base packages
|
|
apt: pkg={{ item }} state=removed
|
|
with_items: cleanup_base_packages
|
|
when: cleanup_base_packages
|
|
tags:
|
|
- packages
|
|
- pkg_cleanup
|
|
|
|
- name: Remove unneeded X packages
|
|
apt: pkg={{ item }} state=removed
|
|
with_items: x_base_packages_to_remove
|
|
when: cleanup_x_base_packages
|
|
tags:
|
|
- packages
|
|
- pkg_cleanup
|
|
|
|
- name: Remove the nfs packages
|
|
apt: pkg={{ item }} state=removed
|
|
with_items: nfs_packages
|
|
when:
|
|
- is_not_precise
|
|
- cleanup_nfs_packages
|
|
tags:
|
|
- packages
|
|
- pkg_cleanup
|
|
|
|
- name: Remove rpcbind packages
|
|
apt: pkg={{ item }} state=removed
|
|
with_items: rpcbind_packages
|
|
when:
|
|
- "({{ is_precise }}) or ({{ is_debian7 }})"
|
|
- cleanup_rpcbind_packages
|
|
tags:
|
|
- packages
|
|
- pkg_cleanup
|
|
|