Htop Ansible Role¶
An Ansible role to install, configure, and manage htop on Debian-based systems.
Features¶
- Installs htop on debian systems
- Uninstalls htop on debian systems
Installation¶
First add the following line to your requirements.yml file:
roles:
- name: htop
src: https://gitlab.com/niclas-zone/tools/ansible/roles/htop.git
version: main
scm: git
After that, install the role by executing the following command:
Role Variables¶
| Variable | Default Value | Type | Description |
|---|---|---|---|
htop_state |
present |
string | Desired package state (present or absent) |
htop_packages |
htop | string | Packages needed for htop |
ansible_managed_warning |
"This file is managed by Ansible. Manual changes will be overwritten." |
string | Warning text included in Ansible-managed files |
ansible_role_repository |
https://gitlab.com/niclas-zone/tools/ansible/roles/podman |
string | Repository link where the role is maintained |