---
- name: Gather facts for all hosts (if using --limit)
  setup:
    filter: "{{ kayobe_ansible_setup_filter }}"
    gather_subset: "{{ kayobe_ansible_setup_gather_subset }}"
  delegate_facts: True
  delegate_to: "{{ item }}"
  with_items: "{{ gather_facts_delegated_delegate_hosts }}"
  when:
    - not hostvars[item].ansible_facts
