diff options
Diffstat (limited to 'roles/core')
-rw-r--r-- | roles/core/base/tasks/Debian.yml | 8 |
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) }}" |