Installation and configuration of Slurm with Ansible
Go to file
Nate Coraor 1efec826c7 Finally devised a way to define conditional defaults without
defaults/main.yml -> vars/condition.yml -> tasks/merge.yml.

Properly templateize everything.

Move as much as possible to defaults to simplify tasks.

Munge stuff is broken, should be fixed soon, just wanted to get this committed.
2019-01-29 21:26:21 -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 Finally devised a way to define conditional defaults without 2019-01-29 21:26:21 -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