-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
25 additions
and
225 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# 使用Ansible在多节点环境分布式训练 | ||
|
||
文件目录 | ||
|
||
``` | ||
. | ||
├── 0_dist_ssh_key # 分发 SSH 公钥到各个节点 | ||
│ ├── distribute_ssh_key.yml # ansible playbook | ||
│ ├── dist_ssh_key.sh # 执行脚本 | ||
│ ├── inventory.ini # 仅用于分发公钥的主机清单文件,需要根据实际情况配置 | ||
│ ├── README.md # 说明文件 | ||
│ └── vars.yml # 初始未加密的用户密码文件,需经过配置并加密后使用 | ||
├── 1_get_docker_image # 各个节点获取 docker 镜像 | ||
│ ├── load_and_tag_docker_image.yml # 导入镜像 ansible playbook | ||
│ ├── load.sh # 导入镜像执行脚本 | ||
│ ├── pull_docker_image.yml # 拉取镜像 ansible playbook | ||
│ ├── pull.sh # 拉取镜像执行脚本 | ||
│ └── README.md # 说明文件 | ||
├── inventory.ini # 主机清单文件,需要根据实际情况配置 | ||
└── README.md # 说明文件 | ||
``` | ||
|
||
|
||
|
||
|
This file was deleted.
Oops, something went wrong.