Skip to content

Commit e7fe903

Browse files
committed
fix linter errors
1 parent a74dd74 commit e7fe903

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

tasks/install.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@
3636
section: crb
3737
option: enabled
3838
value: "1"
39+
mode: "0644"
40+
owner: root
41+
group: root
3942
#when: its rocky9
4043

4144
- name: Build host-specific list of required slurm packages

tasks/runtime.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,12 +132,15 @@
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'
135+
- name: Create cgroup.conf
136136
# appears to be required even with NO cgroup plugins: https://slurm.schedmd.com/cgroups.html#cgroup_design
137137
copy:
138138
remote_src: yes
139139
src: /etc/slurm/cgroup.conf.example
140140
dest: /etc/slurm/cgroup.conf
141+
mode: "0644" # perms/ownership based off src from ohpc package
142+
owner: root
143+
group: root
141144
when: openhpc_enable.control | default(false) or not openhpc_slurm_configless
142145

143146
- name: Remove local tempfile for slurm.conf templating

0 commit comments

Comments
 (0)