Skip to content

Commit 535d1f1

Browse files
committed
fixup custom slurm copy in lab
1 parent 55b4b34 commit 535d1f1

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

environments/lab/hooks/pre.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@
1818
- include_tasks: build.yml
1919

2020
- name: Copy custom Slurm to storage
21-
hosts: control # doens't matter, just needs to be one
21+
hosts: control
2222
become: yes
2323
gather_facts: no
2424
tags: slurm
2525
tasks:
2626
- name: Ensure shared slurm directory exists
2727
file:
2828
state: directory
29-
path: "{{ slurm_build_dir }}"
29+
path: "{{ slurm_build_dir }}" # NB this will be exported by nfs filesystems.yml
3030
owner: root
3131
group: root
3232
mode: u=rwX,go=rX
@@ -39,12 +39,12 @@
3939
group: root
4040
mode: u=rwx,go=rx
4141
loop:
42-
# - src: "{{ slurm_local_build_dir }}/sbin/"
43-
# dest: "{{ openhpc_sbin_dir }}"
42+
- src: "{{ slurm_local_build_dir }}/sbin/"
43+
dest: "{{ openhpc_sbin_dir }}"
4444
- src: "{{ slurm_local_build_dir }}/lib/"
4545
dest: "{{ openhpc_lib_dir }}"
46-
# - src: "{{ slurm_local_build_dir }}/bin/"
47-
# dest: "{{ openhpc_bin_dir }}"
46+
- src: "{{ slurm_local_build_dir }}/bin/"
47+
dest: "{{ openhpc_bin_dir }}"
4848
vars:
4949
slurm_local_build_dir: "{{ appliances_environment_root }}/slurmbuild/{{ slurm_build_version }}"
5050

0 commit comments

Comments
 (0)