From a82cf679977f0826cb79096a0444d6f0a805e0f9 Mon Sep 17 00:00:00 2001 From: Anthony Perkins Date: Thu, 8 Dec 2022 09:53:51 +0000 Subject: [PATCH] Slim down Debian install --- roles/debian/tasks/main.yml | 2 -- roles/debian/tasks/packages-cli.yml | 7 ++----- roles/debian/tasks/packages-gui.yml | 2 -- 3 files changed, 2 insertions(+), 9 deletions(-) diff --git a/roles/debian/tasks/main.yml b/roles/debian/tasks/main.yml index 6af596e..65946c4 100644 --- a/roles/debian/tasks/main.yml +++ b/roles/debian/tasks/main.yml @@ -17,12 +17,10 @@ - import_tasks: packages-cli.yml - import_tasks: packages-gui.yml when: gui == true -- import_tasks: build-env.yml - import_tasks: modules.yml - import_tasks: ssh.yml - import_tasks: solokeys.yml - import_tasks: sudo.yml -- import_tasks: vscode.yml when: gui == true - import_tasks: packagekit.yml when: gui == true diff --git a/roles/debian/tasks/packages-cli.yml b/roles/debian/tasks/packages-cli.yml index 859ba87..de7288f 100644 --- a/roles/debian/tasks/packages-cli.yml +++ b/roles/debian/tasks/packages-cli.yml @@ -22,14 +22,11 @@ vars: packages: - apt-file - - clang - - clang-format - curl - dc - dnsutils - git - gnupg - - lldb - mc - nftables - nmap @@ -43,13 +40,13 @@ - name: Enable automatic update check become: true ansible.builtin.lineinfile: - path: /etc/apt/apt.conf.d/10periodic + path: /etc/apt/apt.conf.d/20auto-upgrades regex: "APT::Periodic::Update-Package-Lists " line: "APT::Periodic::Update-Package-Lists \"1\";" create: yes - name: Enable automatic install of updates become: true ansible.builtin.lineinfile: - path: /etc/apt/apt.conf.d/10periodic + path: /etc/apt/apt.conf.d/20auto-upgrades regex: "APT::Periodic::Unattended-Upgrade " line: "APT::Periodic::Unattended-Upgrade \"1\";" diff --git a/roles/debian/tasks/packages-gui.yml b/roles/debian/tasks/packages-gui.yml index a0cfc4d..63ec09a 100644 --- a/roles/debian/tasks/packages-gui.yml +++ b/roles/debian/tasks/packages-gui.yml @@ -24,8 +24,6 @@ - galculator - git-gui - libcanberra-gtk-module - - remmina - - rxvt-unicode - vim-gtk - name: Check for Gnome Shell ansible.builtin.stat: