安装 htop、tmux 和其他常用系统工具的 Ansible playbook
此 Ansible playbook 安装常用系统工具,如 htop、bmon。我建议你根据需要自定义包列表。
install_system_tools.yaml
---
- name: Install system tools
hosts: all
become: true
tasks:
- name: Update apt cache
apt:
update_cache: yes
- name: Install essential system tools
apt:
name:
- htop
- bmon
- iotop
- openssh-server
- tmux
- screen
- curl
- wget
- python3
- python3-pip
state: presentIf this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow