btravouillon.clustershell
ClusterShell
该角色安装 ClusterShell 软件,并根据 Ansible 清单中声明的组定义节点组。
要求
执行此角色的主机需要以下 Python 依赖。
- clustershell
角色变量
---
# 要安装的软件包列表
clustershell_packages: clustershell
示例剧本
安装并配置 clustershell:
- hosts: headnodes
roles:
- role: btravouillon.clustershell
tags: 'role::clustershell'
安装带有 Python 3 支持的 ClusterShell:
- hosts: headnodes
roles:
- role: btravouillon.clustershell
clustershell_packages: ['clustershell', 'python36-clustershell']
说明
要检查组,请运行以下命令:
$ nodeset -LL