From fcfd62064ab8b78b96408875865000eb8edc2c2e Mon Sep 17 00:00:00 2001 From: Thomas Schneider <thomas@fsmpi.rwth-aachen.de> Date: Tue, 20 May 2025 12:54:40 +0200 Subject: [PATCH] =?UTF-8?q?shell:=20Install=20btop=20only=20on=20Debian=20?= =?UTF-8?q?=E2=89=A5=20bookworm?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- shell/tasks/shell.yml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/shell/tasks/shell.yml b/shell/tasks/shell.yml index b79512f..0c05188 100644 --- a/shell/tasks/shell.yml +++ b/shell/tasks/shell.yml @@ -19,7 +19,6 @@ name: - aptitude - atop - - btop - build-essential - curl - dnsutils @@ -58,7 +57,7 @@ - packages - shell -- name: ensure installation of modern additional software +- name: ensure installation of modern additional software (buster) apt: name: - ripgrep @@ -69,6 +68,16 @@ - packages - shell +- name: ensure installation of modern additional software (bookworm) + apt: + name: + - btop + state: present + when: ansible_distribution_major_version|int(default=99) >= 12 + tags: + - packages + - shell + - name: ensure we have an up-to-date version of grml-zsh-config # Skip risky-file-permissions check because this runs locally, and we don’t # even know who the local user running Ansible is. -- GitLab