Skip to content

Commit a0f567e

Browse files
deepbluemusselYohan DaddoubeechesII
authored
Replace play_hosts magic var (#153)
Co-authored-by: Yohan Daddou <[email protected]> Co-authored-by: Christopher Grau <[email protected]>
1 parent 81192bb commit a0f567e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tasks/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
ansible.builtin.setup:
1616
delegate_to: "{{ item }}"
1717
delegate_facts: true
18-
with_items: "{{ nomad_servers | difference(play_hosts) }}"
18+
with_items: "{{ nomad_servers | difference(ansible_play_hosts) }}"
1919
ignore_errors: true
2020
when: nomad_gather_server_facts | bool
2121

0 commit comments

Comments
 (0)