collectl has a bunch of Gnome Desktop Environment packages that are recommended. So on Ubuntu 20.04 at least, a desktop environment was getting installed and would eventually go to sleep.
Signed-off-by: David Galloway <dgallowa@redhat.com>
packages_to_upgrade: []
+A list of packages to install via ``apt install --no-install-recommends``::
+
+ no_recommended_packages: []
+
A list of packages to install via pip. These lists are defined in the vars files in ``vars/``::
pip_packages_to_install: []
state: present
force: yes
when: ansible_architecture != "aarch64"
+
+- name: Install packages with --no-install-recommends
+ apt:
+ name: "{{ no_recommended_packages|list }}"
+ state: present
+ install_recommends: no
+ when: no_recommended_packages|length > 0
###
- vim
- pdsh
- - collectl
# for blktrace and seekwatcher
- blktrace
###
non_aarch64_packages_to_upgrade:
- libapache2-mod-fastcgi
+no_recommended_packages:
+ - collectl
+
packages_to_remove:
# openmpi-common conflicts with mpitch stuff
- openmpi-common