Update Semaphore setup guide for mgmt repository

This commit is contained in:
Semaphore Admin 2025-09-18 03:26:52 +00:00
parent 56a4994488
commit 444304121d
1 changed files with 7 additions and 6 deletions

View File

@ -21,8 +21,8 @@
1. 点击左侧菜单 "Repositories" 1. 点击左侧菜单 "Repositories"
2. 点击 "New Repository" 按钮 2. 点击 "New Repository" 按钮
3. 填写信息: 3. 填写信息:
- **Name**: `ansible-scripts` - **Name**: `mgmt`
- **URL**: `https://gitea.tailnet-68f9.ts.net/ben/ansible-scripts.git` - **URL**: `https://gitea.tailnet-68f9.ts.net/ben/mgmt.git`
- **Branch**: `main` - **Branch**: `main`
- **Access Key**: 选择刚创建的 `gitea-access-token` - **Access Key**: 选择刚创建的 `gitea-access-token`
@ -54,9 +54,9 @@
2. 点击 "New Template" 按钮 2. 点击 "New Template" 按钮
3. 填写信息: 3. 填写信息:
- **Name**: `System Update` - **Name**: `System Update`
- **Playbook**: `system-update.yml` - **Playbook**: `ansible/system-update.yml`
- **Inventory**: 选择刚创建的 `servers` - **Inventory**: 选择刚创建的 `servers`
- **Repository**: 选择 `ansible-scripts` - **Repository**: 选择 `mgmt`
- **Environment**: 选择 `production` - **Environment**: 选择 `production`
## 3. 运行任务 ## 3. 运行任务
@ -80,6 +80,7 @@
## Git 仓库信息 ## Git 仓库信息
- **仓库地址**: https://gitea.tailnet-68f9.ts.net/ben/ansible-scripts - **仓库地址**: https://gitea.tailnet-68f9.ts.net/ben/mgmt
- **分支**: main - **分支**: main
- **最新提交**: 包含系统更新脚本的初始版本 - **最新提交**: 包含 Ansible 脚本和 Semaphore 配置文件
- **Ansible 脚本路径**: `ansible/system-update.yml`