Enable cgroup config for Slurm
This commit is contained in:
parent
1de5867980
commit
55ee5496ba
|
@ -35,3 +35,13 @@
|
|||
group: slurm
|
||||
mode: 0755
|
||||
state: directory
|
||||
|
||||
- name: Create cgroup.conf
|
||||
copy:
|
||||
content: |
|
||||
CgroupAutomount=yes
|
||||
ConstrainCores=yes
|
||||
ConstrainRAMSpace=yes
|
||||
ConstrainSwapSpace=yes
|
||||
dest: "{{ slurm_conf_dir }}/cgroup.conf"
|
||||
backup: yes
|
||||
|
|
Loading…
Reference in New Issue