Go to file
Houzhong Xu d2a88cef3b
Add dev2 host and test multi-host deployment
- Added dev2 host to dev group
- Successfully deployed SSH keys to both dev1 and dev2
- Tested Ansible playbook on both hosts simultaneously
- System updates completed successfully on both hosts
- Ready for production deployment
2025-09-18 05:21:03 +00:00
ansible Add dev2 host and test multi-host deployment 2025-09-18 05:21:03 +00:00
README.md Add Ansible scripts for system management 2025-09-18 03:25:21 +00:00
config.json Add Ansible scripts for system management 2025-09-18 03:25:21 +00:00
keys-info.md Add SSH and GPG keys information 2025-09-18 03:31:28 +00:00
semaphore-setup-guide.md Update Semaphore setup guide for mgmt repository 2025-09-18 03:26:52 +00:00
try.md Add Ansible scripts for system management 2025-09-18 03:25:21 +00:00

README.md

Management Scripts

这个仓库包含系统管理相关的脚本和配置文件。

目录结构

  • ansible/ - Ansible 自动化脚本
    • system-update.yml - 系统更新 playbook (apt update && apt upgrade)
    • inventory.ini - 服务器清单文件
    • ansible.cfg - Ansible 配置文件
  • config.json - Semaphore 配置文件

Ansible 使用方法

cd ansible
LANG=C ansible-playbook -i inventory.ini system-update.yml

Semaphore 配置