This task allows you to enable passwordless SUDO for the Ansible IBM Spectrum LSF Suite for HPC installer.
Procedure
-
Log in as a normal user, for example as lsfadmin, to the first node.
-
Extract the IBM Spectrum LSF Suite for HPC bin file.
$ sudo /scratch/support/li/packages/lsfshpc10.2.0.8-x86_64.bin
- Go to /opt/ibm/lsf_installer/playbook and modify the
lsf-inventory file to include cluster nodes:
- Set the Ansible log file location:
$ export ANSIBLE_LOG_PATH="/tmp/LSFSuite-installation.log"
- Run the installer:
ansible-playbook -b --become-user root --become-method sudo -K -k -i lsf-inventory lsf-deploy.yml
You will be prompted for two passwords:
- SSH password - For "lsfadmin" to access a remote node.
- SUDO password - For "lsfadmin" sudo to have root permission.