From 76923a34fe82c593fe3ef181c4209aa0474c91f4 Mon Sep 17 00:00:00 2001
From: Lars Beckers <lars.beckers@rwth-aachen.de>
Date: Thu, 27 Aug 2020 20:02:02 +0200
Subject: [PATCH] client: remove newly suggested components

---
 client/tasks/configuration.yml |  6 ++++++
 client/tasks/software.yml      | 11 +++++++++++
 2 files changed, 17 insertions(+)

diff --git a/client/tasks/configuration.yml b/client/tasks/configuration.yml
index eef6b96..0c93616 100644
--- a/client/tasks/configuration.yml
+++ b/client/tasks/configuration.yml
@@ -57,3 +57,9 @@
     group: root
     mode: '0644'
   when: client_provision_mozilla
+
+- name: ensure dynamic wpa_s is stopped and disabled
+  service:
+    name: wpa_supplicant
+    state: stopped
+    enabled: false
diff --git a/client/tasks/software.yml b/client/tasks/software.yml
index 3749400..08ea29c 100644
--- a/client/tasks/software.yml
+++ b/client/tasks/software.yml
@@ -8,6 +8,7 @@
       - firmware-realtek
       - firmware-iwlwifi
     state: present
+  when: ansible_system_vendor == "Dell Inc."
 
 - name: ensure office applications are installed
   apt:
@@ -234,8 +235,18 @@
     purge: true
     name:
       - network-manager
+      - modemmanager
+      - unattended-upgrades
       - update-manager-core
       - update-manager-gnome
       - popularity-contest
       - konqueror
+      - haveged
       - lirc
+
+- name: ensure cups daemon is uninstalled
+  apt:
+    state: absent
+    purge: true
+    name: cups-daemon
+    autoremove: true
-- 
GitLab