2015-05-28 11:32:57 +02:00
|
|
|
---
|
|
|
|
- name: Remove unneeded base packages
|
2018-04-19 14:38:29 +02:00
|
|
|
apt: pkg={{ item }} state=absent
|
2016-03-02 15:54:10 +01:00
|
|
|
with_items: '{{ cleanup_base_packages }}'
|
2015-05-28 11:32:57 +02:00
|
|
|
when: cleanup_base_packages
|
2016-03-02 15:54:10 +01:00
|
|
|
tags: [ 'packages', 'pkg_cleanup' ]
|
2015-05-28 11:32:57 +02:00
|
|
|
|
|
|
|
- name: Remove unneeded X packages
|
2018-04-19 14:38:29 +02:00
|
|
|
apt: pkg={{ item }} state=absent
|
2016-03-02 15:54:10 +01:00
|
|
|
with_items: '{{ x_base_packages_to_remove }}'
|
2015-05-28 11:32:57 +02:00
|
|
|
when: cleanup_x_base_packages
|
2016-03-02 15:54:10 +01:00
|
|
|
tags: [ 'packages', 'pkg_cleanup' ]
|
2015-05-28 11:32:57 +02:00
|
|
|
|
|
|
|
- name: Remove the nfs packages
|
2018-04-19 14:38:29 +02:00
|
|
|
apt: pkg={{ item }} state=absent
|
2016-03-02 15:54:10 +01:00
|
|
|
with_items: '{{ nfs_packages }}'
|
2015-05-28 11:32:57 +02:00
|
|
|
when:
|
|
|
|
- is_not_precise
|
|
|
|
- cleanup_nfs_packages
|
2016-03-02 15:54:10 +01:00
|
|
|
tags: [ 'packages', 'pkg_cleanup' ]
|
2015-05-28 11:32:57 +02:00
|
|
|
|
|
|
|
- name: Remove rpcbind packages
|
2018-04-19 14:38:29 +02:00
|
|
|
apt: pkg={{ item }} state=absent
|
2016-03-02 15:54:10 +01:00
|
|
|
with_items: '{{ rpcbind_packages }}'
|
2016-03-02 16:44:43 +01:00
|
|
|
when: cleanup_rpcbind_packages
|
2015-11-08 21:56:27 +01:00
|
|
|
tags: [ 'packages', 'pkg_cleanup' ]
|
2015-05-28 11:32:57 +02:00
|
|
|
|
2015-07-06 17:46:26 +02:00
|
|
|
- name: Remove the exim packages
|
2018-04-19 14:38:29 +02:00
|
|
|
apt: name={{ item }} state=absent
|
2016-03-02 15:54:10 +01:00
|
|
|
with_items: '{{ exim_email_server_pkgs }}'
|
2015-07-06 17:46:26 +02:00
|
|
|
when: cleanup_exim_email_server
|
|
|
|
tags: [ 'packages', 'pkg_cleanup', 'exim' ]
|
|
|
|
|