cluster_hosts.yml 922 B

1234567891011121314151617181920212223242526
  1. ---
  2. g_etcd_hosts: "{{ groups.etcd | default([]) }}"
  3. g_new_etcd_hosts: "{{ groups.new_etcd | default([]) }}"
  4. g_lb_hosts: "{{ groups.lb | default([]) }}"
  5. g_master_hosts: "{{ groups.masters | default([]) }}"
  6. g_new_master_hosts: "{{ groups.new_masters | default([]) }}"
  7. g_node_hosts: "{{ groups.nodes | default([]) }}"
  8. g_new_node_hosts: "{{ groups.new_nodes | default([]) }}"
  9. g_nfs_hosts: "{{ groups.nfs | default([]) }}"
  10. g_glusterfs_hosts: "{{ groups.glusterfs | default([]) }}"
  11. g_glusterfs_registry_hosts: "{{ groups.glusterfs_registry | default(g_glusterfs_hosts) }}"
  12. g_all_hosts: "{{ g_master_hosts | union(g_node_hosts) | union(g_etcd_hosts)
  13. | union(g_new_etcd_hosts) | union(g_lb_hosts) | union(g_nfs_hosts)
  14. | union(g_new_node_hosts)| union(g_new_master_hosts)
  15. | union(g_glusterfs_hosts) | union(g_glusterfs_registry_hosts)
  16. | default([]) }}"