Ansible Role linuxfabrik.lfops.glances¶
This role installs glances and drops a snippet into /etc/profile.d/glances.sh that aliases top and glances to glances -t 1. On RHEL 7 the aliases additionally pass --disable-docker to avoid the slow Docker probe.
Available since LFOps 2.0.0.
Dependent Roles¶
Any LFOps playbook that installs this role runs these for you. Optional ones can be disabled via the playbook's skip variables.
- On RHEL-compatible systems, the EPEL repository must be enabled (role: linuxfabrik.lfops.repo_epel). It provides the
glancespackage. - On Rocky Linux 9, the CRB repository must be enabled (role: linuxfabrik.lfops.repo_baseos). The
glancespackage moved from EPEL into the base repository on Rocky 9.
Requirements¶
Manual steps:
- On RHEL 10 and clones (Rocky / Alma 10),
glancesis not packaged in EPEL 10, so this role fails withNo package glances available.. Install glances manually there (for example viapip install glancesin a venv, or from a third-party repo) and skip this role.
Tags¶
glances
- Installs glances and configures the
top/glancesaliases. - Triggers: none.