diff options
author | Scott Dodson <sdodson@redhat.com> | 2017-11-16 08:49:07 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-16 08:49:07 -0500 |
commit | 7dcc6292e2ca89fe22675491299cf5853860bed8 (patch) | |
tree | 956a8f8d2cac46f5529604c2201facea1611ea0d /playbooks/init/vars | |
parent | 45532f4578f99243f14493aa42b4ffd7b0fb8265 (diff) | |
parent | e5f4823d6e4191367178f743ddd5e0885598e8cf (diff) | |
download | openshift-7dcc6292e2ca89fe22675491299cf5853860bed8.tar.gz openshift-7dcc6292e2ca89fe22675491299cf5853860bed8.tar.bz2 openshift-7dcc6292e2ca89fe22675491299cf5853860bed8.tar.xz openshift-7dcc6292e2ca89fe22675491299cf5853860bed8.zip |
Merge pull request #6064 from mtnbikenc/consolidate-init
Playbook Consolidation - Initialization
Diffstat (limited to 'playbooks/init/vars')
-rw-r--r-- | playbooks/init/vars/cluster_hosts.yml | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/playbooks/init/vars/cluster_hosts.yml b/playbooks/init/vars/cluster_hosts.yml new file mode 100644 index 000000000..e807ac004 --- /dev/null +++ b/playbooks/init/vars/cluster_hosts.yml @@ -0,0 +1,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([]) }}" |