Skip to content

Commit 2650f0b

Browse files
committed
match /mnt/cluster permissions before and after mount, so ansible-init reruns don't fail
1 parent 91497b6 commit 2650f0b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ansible/roles/compute_init/files/compute-init.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,9 @@
5959
file:
6060
path: /mnt/cluster
6161
state: directory
62-
owner: root
62+
owner: slurm
6363
group: root
64-
mode: u=rwX,go= # is sensitive
64+
mode: u=rX,g=rwX,o=
6565

6666
- name: Mount /mnt/cluster
6767
mount:

0 commit comments

Comments
 (0)