cluster_hosts.yml 454 B

123456789101112131415
  1. ---
  2. g_etcd_hosts: "{{ groups.etcd | default([]) }}"
  3. g_lb_hosts: "{{ groups.lb | default([]) }}"
  4. g_master_hosts: "{{ groups.masters | default([]) }}"
  5. g_node_hosts: "{{ groups.nodes | default([]) }}"
  6. g_new_node_hosts: "{{ groups.new_nodes | default([]) }}"
  7. g_nfs_hosts: "{{ groups.nfs | default([]) }}"
  8. g_all_hosts: "{{ g_master_hosts | union(g_node_hosts) | union(g_etcd_hosts)
  9. | union(g_lb_hosts) | default([]) }}"