summaryrefslogtreecommitdiff
path: root/roles
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2024-04-27 22:08:26 +0200
committerChristian Pointner <equinox@spreadspace.org>2024-04-27 22:08:26 +0200
commit64de32cee7c379a279e7fc40051e75b22727a3ef (patch)
treef402e49da70c8a8acc707c46663671c05d195fd2 /roles
parentfix installer for openbsd (diff)
don't install dstat for noble and trixie and beyond
Diffstat (limited to 'roles')
-rw-r--r--roles/core/base/tasks/Debian.yml8
1 files changed, 7 insertions, 1 deletions
diff --git a/roles/core/base/tasks/Debian.yml b/roles/core/base/tasks/Debian.yml
index 2d6bb364..73fa2420 100644
--- a/roles/core/base/tasks/Debian.yml
+++ b/roles/core/base/tasks/Debian.yml
@@ -19,7 +19,6 @@
apt:
name:
- htop
- - dstat
- lsof
- gawk
- psmisc
@@ -46,6 +45,13 @@
- bwm-ng
state: present
+ ## TODO: install dool on newer systems... or all of them. From which package source??
+- name: install dstat for older systems only
+ when: (ansible_distribution == 'Debian' and (ansible_distribution_major_version | int) <= 12) or (ansible_distribution == 'Ubuntu' and (ansible_distribution_major_version | int) < 24)
+ apt:
+ name: dstat
+ state: present
+
- name: install extra packages
apt:
name: "{{ base_packages_extra_host | union(base_packages_extra_group) }}"