Skip to content

Commit

Permalink
FIXME: add cgroup.conf
Browse files Browse the repository at this point in the history
  • Loading branch information
sjpb committed Feb 2, 2024
1 parent 93f8edb commit f9876d6
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tasks/runtime.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,14 @@
register: ohpc_gres_conf
# NB uses restart rather than reload as this is needed in some cases

- name: 'FIXME: Create cgroup.conf'
# appears to be required even with NO cgroup plugins: https://slurm.schedmd.com/cgroups.html#cgroup_design
copy:
remote_src: yes
src: /etc/slurm/cgroup.conf.example
dest: /etc/slurm/cgroup.conf
when: openhpc_enable.control | default(false) or not openhpc_slurm_configless

- name: Remove local tempfile for slurm.conf templating
ansible.builtin.file:
path: "{{ _slurm_conf_tmpfile.path }}"
Expand Down

0 comments on commit f9876d6

Please sign in to comment.