Skip to content
Snippets Groups Projects
Unverified Commit 16ad344c authored by Qasim Sarfraz's avatar Qasim Sarfraz Committed by GitHub
Browse files

Gather ansible_default_ipv4 for specific groups (#6318)

parent 8ca2a9a7
No related branches found
No related tags found
No related merge requests found
......@@ -7,7 +7,7 @@
tags: always
include_tasks: fallback_ips_gather.yml
when: hostvars[delegate_host_to_gather_facts].ansible_default_ipv4 is not defined
loop: "{{ groups['all'] }}"
loop: "{{ groups['k8s-cluster']|default([]) + groups['etcd']|default([]) + groups['calico-rr']|default([]) }}"
loop_control:
loop_var: delegate_host_to_gather_facts
run_once: yes
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment