Skip to content

Commit 44afdce

Browse files
Fix small error in topology without rack aware
1 parent b08ea5f commit 44afdce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

playbooks/roles/slurm/tasks/compute.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@
116116
- name: Get nodes from Inactive Switch
117117
vars:
118118
- keyword: "{% for partition in queues %}{% for instance in partition.instance_types %}{% if instance.name == instance_type %}{{instance.instance_keyword}}{% endif %}{% endfor %}{% endfor %}"
119-
shell: "cat {{ slurm_conf_path }}/topology.conf | grep \"SwitchName=inactive-{{queue}}-{{keyword}}\""
119+
shell: "cat {{ slurm_conf_path }}/topology.conf | grep \"SwitchName=inactive-{{queue}}-{{keyword}} \""
120120
register: inactive_switch
121121
run_once: true
122122
delegate_to: 127.0.0.1

0 commit comments

Comments
 (0)