Skip to content

Commit

Permalink
fix linter errors
Browse files Browse the repository at this point in the history
  • Loading branch information
sjpb committed Feb 2, 2024
1 parent a74dd74 commit e7fe903
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 3 additions & 0 deletions tasks/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@
section: crb
option: enabled
value: "1"
mode: "0644"
owner: root
group: root
#when: its rocky9

- name: Build host-specific list of required slurm packages
Expand Down
5 changes: 4 additions & 1 deletion tasks/runtime.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,12 +132,15 @@
register: ohpc_gres_conf
# NB uses restart rather than reload as this is needed in some cases

- name: 'FIXME: Create cgroup.conf'
- name: 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
mode: "0644" # perms/ownership based off src from ohpc package
owner: root
group: root
when: openhpc_enable.control | default(false) or not openhpc_slurm_configless

- name: Remove local tempfile for slurm.conf templating
Expand Down

0 comments on commit e7fe903

Please sign in to comment.