Make README trueish

This commit is contained in:
Nate Coraor 2019-01-30 00:08:53 -05:00
parent f848599618
commit 3a61c93590
1 changed files with 11 additions and 2 deletions

View File

@ -6,7 +6,7 @@ Install and configure Slurm
Role Variables 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](#example-playbook) for examples. All variables are optional. If nothing is set, the role will install the Slurm client programs, munge, and create a `slurm.conf` with a single `localhost` node and `debug` partition. See the [defaults](defaults/main.yml) and [example playbook](#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`. For the various roles a slurm node can play, you can either set group names, or add values to a list, `slurm_roles`.
@ -14,6 +14,16 @@ For the various roles a slurm node can play, you can either set group names, or
- group slurmexechosts or `slurm_roles: ['exec']` - group slurmexechosts or `slurm_roles: ['exec']`
- group slurmdbdservers or `slurm_roles: ['dbd']` - group slurmdbdservers or `slurm_roles: ['dbd']`
General config options for slurm.conf go in `slurm_config`, a hash. Keys are slurm config option names.
Partitions and nodes go in `slurm_partitions` and `slurm_nodes`, lists of hashes. The only required key in the hash is
`name`, which becomes the `PartitionName` or `NodeName` for that line. All other keys/values are placed on to the line
of that partition or node.
Set `slurm_upgrade` true to upgrade.
You can use `slurm_user` (a hash) and `slurm_create_user` (a bool) to pre-create a Slurm user (so that uids match). See
Dependencies Dependencies
------------ ------------
@ -26,7 +36,6 @@ Example Playbook
- name: Slurm all in One - name: Slurm all in One
hosts: all hosts: all
vars: vars:
slurm_user: {}
slurm_roles: ['controller', 'exec', 'dbd'] slurm_roles: ['controller', 'exec', 'dbd']
roles: roles:
- galaxyproject.slurm - galaxyproject.slurm