Skip to content

Commit f9876d6

Browse files
committed
FIXME: add cgroup.conf
1 parent 93f8edb commit f9876d6

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

tasks/runtime.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,14 @@
132132
register: ohpc_gres_conf
133133
# NB uses restart rather than reload as this is needed in some cases
134134

135+
- name: 'FIXME: Create cgroup.conf'
136+
# appears to be required even with NO cgroup plugins: https://slurm.schedmd.com/cgroups.html#cgroup_design
137+
copy:
138+
remote_src: yes
139+
src: /etc/slurm/cgroup.conf.example
140+
dest: /etc/slurm/cgroup.conf
141+
when: openhpc_enable.control | default(false) or not openhpc_slurm_configless
142+
135143
- name: Remove local tempfile for slurm.conf templating
136144
ansible.builtin.file:
137145
path: "{{ _slurm_conf_tmpfile.path }}"

0 commit comments

Comments
 (0)