cluster_hosts.yml 608 B

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