Installation and configuration of Slurm with Ansible
Go to file
Nate Coraor cd7135bf91 The /var/log/munge permissions bug is fixed in trusty-updates and newer,
drop the workaround for that.

Also the Ansible copy module properly handles vaulted binary src files
as of 2.4.
2019-01-29 21:39:41 -05:00
defaults Finally devised a way to define conditional defaults without 2019-01-29 21:26:21 -05:00
handlers Finally devised a way to define conditional defaults without 2019-01-29 21:26:21 -05:00
meta Ansible Galaxy changed on me again 2019-01-29 15:29:41 -05:00
tasks The /var/log/munge permissions bug is fixed in trusty-updates and newer, 2019-01-29 21:39:41 -05:00
templates Finally devised a way to define conditional defaults without 2019-01-29 21:26:21 -05:00
.gitignore Finally devised a way to define conditional defaults without 2019-01-29 21:26:21 -05:00
README.md Finally devised a way to define conditional defaults without 2019-01-29 21:26:21 -05:00

README.md

Slurm

Install and configure Slurm

Role Variables

All variables are optional. If nothing is set, the role will install the Slurm client programs, munge, and create a slurm.conf. See the [defaults][defaults] and example playbook for examples.

For the various roles a slurm node can play, you can either set group names, or add values to a list, slurm_roles.

  • group slurmservers or slurm_roles: ['controller']
  • group slurmexechosts or slurm_roles: ['exec']
  • group slurmdbdservers or slurm_roles: ['dbd']

Dependencies

None.

Example Playbook

- name: Slurm all in One
  hosts: all
  vars:
    slurm_user: {}
    slurm_roles: ['controller', 'exec', 'dbd']
  roles:
    - galaxyproject.slurm

License

MIT

Author Information

View contributors on GitHub