From 9dad43c22643d51e31a0f75202a083b7fb848ea5 Mon Sep 17 00:00:00 2001 From: Timo Makinen Date: Wed, 18 Nov 2020 07:48:43 +0000 Subject: [PATCH] Remove bluetooth support from shell hosts No need for bluetooth in remote servers. This seems to drop login times from 40s to 10s. --- playbooks/shell.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/playbooks/shell.yml b/playbooks/shell.yml index 855216d..ceb328b 100644 --- a/playbooks/shell.yml +++ b/playbooks/shell.yml @@ -33,6 +33,16 @@ loop_control: loop_var: package_group + - name: remove unwanted packages from groups + package: + name: "{{ package }}" + state: absent + with_items: + - bluez-obexd + - gnome-bluetooth + loop_control: + loop_var: package + - name: install extra packages package: name: "{{ package }}"