mgmt/README.md

24 lines
548 B
Markdown

# Management Scripts
这个仓库包含系统管理相关的脚本和配置文件。
## 目录结构
- `ansible/` - Ansible 自动化脚本
- `system-update.yml` - 系统更新 playbook (apt update && apt upgrade)
- `inventory.ini` - 服务器清单文件
- `ansible.cfg` - Ansible 配置文件
- `config.json` - Semaphore 配置文件
## Ansible 使用方法
```bash
cd ansible
LANG=C ansible-playbook -i inventory.ini system-update.yml
```
## Semaphore 配置
- Web 界面: http://localhost:3000
- 用户名: admin
- 密码: admin123