Skip to content

Commit 08d4cf6

Browse files
Fix topology for slurm_backup and login
1 parent 51f65b5 commit 08d4cf6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

playbooks/roles/slurm/tasks/destroy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
- name: Get hostnames
5656
set_fact:
5757
nodes_to_add_temp: "{{hostvars[item]['ansible_hostname']}}"
58-
with_items: "{{ play_hosts | difference(groups['bastion']) }}"
58+
with_items: "{{ play_hosts | difference(groups['bastion']) | difference(groups['slurm_backup']) | difference(groups['login']) }}"
5959
run_once: true
6060
register: nodes_to_add_temp_results
6161

0 commit comments

Comments
 (0)