From: Oleg Broytman Date: Fri, 19 Jul 2019 23:48:18 +0000 (+0300) Subject: Feat(debian/init-system): Uninstall uninteresting packages X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=14f560290762070786fe6e298c7a0bee4734f62f;p=ansible.git Feat(debian/init-system): Uninstall uninteresting packages --- 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: