summaryrefslogtreecommitdiffstats
path: root/roles/ands_facts/tasks/nodes.yml
blob: ebe8091e0f8c9c81b78495024a6d016bac11719e (plain)
1
2
3
4
5
6
7
8
9
10
- name: Process all nodes
  include_tasks: "node.yml"
  run_once: true
  delegate_to: "{{ groups['masters'][0] }}"
  with_dict: "{{ hostvars }}"
  vars:
    host_id: "{{ host.value['ands_host_id'] }}"
    host_name: "{{ host.value['ansible_hostname'] }}"
  loop_control:
    loop_var: host