We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 51f65b5 commit 08d4cf6Copy full SHA for 08d4cf6
playbooks/roles/slurm/tasks/destroy.yml
@@ -55,7 +55,7 @@
55
- name: Get hostnames
56
set_fact:
57
nodes_to_add_temp: "{{hostvars[item]['ansible_hostname']}}"
58
- with_items: "{{ play_hosts | difference(groups['bastion']) }}"
+ with_items: "{{ play_hosts | difference(groups['bastion']) | difference(groups['slurm_backup']) | difference(groups['login']) }}"
59
run_once: true
60
register: nodes_to_add_temp_results
61
0 commit comments