This role installs the ClusterShell software and defines groups of nodes based on the groups declared in the Ansible inventory.
The below Python requirements are needed on the host that executes this role.
- clustershell
---
# List of packages to install
clustershell_packages: clustershell
Install and configure clustershell:
- hosts: headnodes
roles:
- role: btravouillon.clustershell
tags: 'role::clustershell'
Install ClusterShell with Python 3 support:
- hosts: headnodes
roles:
- role: btravouillon.clustershell
clustershell_packages: ['clustershell', 'python36-clustershell']
To check the groups, run the command below:
$ nodeset -LL