]> git.phdru.name Git - ansible.git/commitdiff
Feat(debian/init-system): Uninstall uninteresting packages
authorOleg Broytman <phd@phdru.name>
Fri, 19 Jul 2019 23:48:18 +0000 (02:48 +0300)
committerOleg Broytman <phd@phdru.name>
Fri, 19 Jul 2019 23:48:18 +0000 (02:48 +0300)
playbooks/debian/roles/init-system/tasks/main.yml

index faecf418134105e5b24d0a3fdc19a8336a35e42c..0853c8b841274eff30945020102440cb73ec631c 100644 (file)
     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: