Enable cgroup config for Slurm

This commit is contained in:
Nate Coraor 2018-04-27 11:03:26 -04:00
parent 1de5867980
commit 55ee5496ba
1 changed files with 10 additions and 0 deletions

View File

@ -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