summaryrefslogtreecommitdiffstats
path: root/playbooks/init/vars/cluster_hosts.yml
blob: e807ac00400f6fb39aa72b0fb2dbea604938028d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
---
g_etcd_hosts: "{{ groups.etcd | default([]) }}"

g_new_etcd_hosts: "{{ groups.new_etcd | default([]) }}"

g_lb_hosts: "{{ groups.lb | default([]) }}"

g_master_hosts: "{{ groups.masters | default([]) }}"

g_new_master_hosts: "{{ groups.new_masters | default([]) }}"

g_node_hosts: "{{ groups.nodes | default([]) }}"

g_new_node_hosts: "{{ groups.new_nodes | default([]) }}"

g_nfs_hosts: "{{ groups.nfs | default([]) }}"

g_glusterfs_hosts: "{{ groups.glusterfs | default([]) }}"

g_glusterfs_registry_hosts: "{{ groups.glusterfs_registry | default(g_glusterfs_hosts) }}"

g_all_hosts: "{{ g_master_hosts | union(g_node_hosts) | union(g_etcd_hosts)
                 | union(g_new_etcd_hosts) | union(g_lb_hosts) | union(g_nfs_hosts)
                 | union(g_new_node_hosts)| union(g_new_master_hosts)
                 | union(g_glusterfs_hosts) | union(g_glusterfs_registry_hosts)
                 | default([]) }}"