Skip to content

Commit

Permalink
Fix fetch
Browse files Browse the repository at this point in the history
  • Loading branch information
micafer committed Dec 5, 2023
1 parent 29cda14 commit 0be3e42
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tasks/wn.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,15 @@

- name: Copy slurm.conf to the master
fetch: src="{{ SLURM_CONF_DIR }}/slurm.conf" dest="/tmp/slurm.conf" flat=yes
delegate_to: "{{slurm_server_name}}"

- name: copy slurm.conf file from the frontend
copy: src=/tmp/slurm.conf dest={{ SLURM_CONF_DIR }}/slurm.conf force=yes

- name: Copy cgroup.conf to the master
fetch: src="{{ SLURM_CONF_DIR }}/cgroup.conf" dest="/tmp/cgroup.conf" flat=yes
when: "slurm_version is version('22.0.0', '>=')"
delegate_to: "{{slurm_server_name}}"

- name: copy cgroup.conf file from the frontend
copy: src=/tmp/cgroup.conf dest={{ SLURM_CONF_DIR }}/cgroup.conf force=yes
Expand All @@ -26,6 +28,7 @@
- name: Copy gres.conf to the master
fetch: src="{{ SLURM_CONF_DIR }}/gres.conf" dest="/tmp/gres.conf" flat=yes
when: slurm_wn_gres != ""
delegate_to: "{{slurm_server_name}}"

- name: copy gres.conf file from the frontend
copy: src=/tmp/gres.conf dest={{ SLURM_CONF_DIR }}/gres.conf force=yes
Expand Down

0 comments on commit 0be3e42

Please sign in to comment.