Skip to content

Commit 2ec711a

Browse files
Fix gres.conf on destroy
1 parent 283a366 commit 2ec711a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

playbooks/roles/slurm/tasks/destroy-rack-aware.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
become: true
1111
blockinfile:
1212
path: "{{ slurm_conf_path }}/gres.conf"
13-
marker: "### {{ansible_hostname}}"
13+
marker: "### {mark} {{ansible_hostname}}"
1414
delegate_to: 127.0.0.1
1515

1616
- name: Get hostnames

playbooks/roles/slurm/tasks/destroy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
become: true
1111
blockinfile:
1212
path: "{{ slurm_conf_path }}/gres.conf"
13-
marker: "### {{ansible_hostname}}"
13+
marker: "### {mark} {{ansible_hostname}}"
1414
delegate_to: 127.0.0.1
1515

1616
- name: Get nodes from Cluster Switch

0 commit comments

Comments
 (0)