Go to file
Houzhong Xu 9a453b984f
chore(ansible): 重构inventory.ini分组和节点配置
- 按地理和服务划分为多个组,如oci_kr, oci_us, huawei, google等
- 添加了多台主机的详细连接和权限配置
- 修正并移除旧的oci组,替换为更细化的组划分
- 规范了lxc、vm、hcp及feiniu等组的节点配置
- 新增armbian组及对应节点onecloud1配置
- 保留通用变量ansible_ssh_common_args不变
- 删除try.md文件中的无关内容记录
2025-09-18 07:22:52 +00:00
ansible chore(ansible): 重构inventory.ini分组和节点配置 2025-09-18 07:22:52 +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

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 配置