From 14f560290762070786fe6e298c7a0bee4734f62f Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Sat, 20 Jul 2019 02:48:18 +0300 Subject: [PATCH] Feat(debian/init-system): Uninstall uninteresting packages --- playbooks/debian/roles/init-system/tasks/main.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/playbooks/debian/roles/init-system/tasks/main.yml b/playbooks/debian/roles/init-system/tasks/main.yml index faecf41..0853c8b 100644 --- a/playbooks/debian/roles/init-system/tasks/main.yml +++ b/playbooks/debian/roles/init-system/tasks/main.yml @@ -27,6 +27,21 @@ state: latest update_cache: yes +- name: Purge uninteresting packages + become: true + apt: + autoclean: yes + autoremove: yes + install_recommends: no + name: ['avahi-autoip', 'bluetooth', 'bluez', + 'debian-faq', 'doc-debian', + 'emacsen-comm', 'vim-tiny', + ] + purge: yes + state: absent + update_cache: no + + - name: Configure apt key for deb-multimedia become: true apt_key: -- 2.39.5