diff options
author | Jose A. Rivera <jarrpa@redhat.com> | 2017-04-17 17:36:19 -0500 |
---|---|---|
committer | Jose A. Rivera <jarrpa@redhat.com> | 2017-05-04 11:44:54 +0200 |
commit | 1328328522f11db02d526f72df66c424f3dfbfa3 (patch) | |
tree | 235aad87f12a43bd74d58260d31c482fde2997e4 /roles/openshift_storage_glusterfs/templates/v3.6/topology.json.j2 | |
parent | 023e7d00b26b870b26c514a7893a9511fa9770d7 (diff) | |
download | openshift-1328328522f11db02d526f72df66c424f3dfbfa3.tar.gz openshift-1328328522f11db02d526f72df66c424f3dfbfa3.tar.bz2 openshift-1328328522f11db02d526f72df66c424f3dfbfa3.tar.xz openshift-1328328522f11db02d526f72df66c424f3dfbfa3.zip |
GlusterFS: Allow for a separate registry-specific playbook
Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
Diffstat (limited to 'roles/openshift_storage_glusterfs/templates/v3.6/topology.json.j2')
-rw-r--r-- | roles/openshift_storage_glusterfs/templates/v3.6/topology.json.j2 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/openshift_storage_glusterfs/templates/v3.6/topology.json.j2 b/roles/openshift_storage_glusterfs/templates/v3.6/topology.json.j2 index eb5b4544f..33d8f9b36 100644 --- a/roles/openshift_storage_glusterfs/templates/v3.6/topology.json.j2 +++ b/roles/openshift_storage_glusterfs/templates/v3.6/topology.json.j2 @@ -1,7 +1,7 @@ { "clusters": [ {%- set clusters = {} -%} -{%- for node in groups.oo_glusterfs_to_config -%} +{%- for node in glusterfs_nodes -%} {%- set cluster = hostvars[node].glusterfs_cluster if 'glusterfs_cluster' in node else '1' -%} {%- if cluster in clusters -%} {%- set _dummy = clusters[cluster].append(node) -%} |