summaryrefslogtreecommitdiffstats
path: root/playbooks/aws/openshift-cluster/config.yml
diff options
context:
space:
mode:
authorJason DeTiberus <jdetiber@redhat.com>2016-04-19 14:24:00 -0400
committerJason DeTiberus <jdetiber@redhat.com>2016-04-29 12:21:38 -0400
commitb60e949da09a024b85366add7c7a26276b635093 (patch)
tree64c5621f9ec2a41f524f639c38504dc57bc2a7cf /playbooks/aws/openshift-cluster/config.yml
parent82126ed401be4f7272c4f896dfef299828c660f6 (diff)
downloadopenshift-b60e949da09a024b85366add7c7a26276b635093.tar.gz
openshift-b60e949da09a024b85366add7c7a26276b635093.tar.bz2
openshift-b60e949da09a024b85366add7c7a26276b635093.tar.xz
openshift-b60e949da09a024b85366add7c7a26276b635093.zip
fix up variable references remove "online" support from bin/cluster
Diffstat (limited to 'playbooks/aws/openshift-cluster/config.yml')
-rw-r--r--playbooks/aws/openshift-cluster/config.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/playbooks/aws/openshift-cluster/config.yml b/playbooks/aws/openshift-cluster/config.yml
index f9b367b97..8402b3579 100644
--- a/playbooks/aws/openshift-cluster/config.yml
+++ b/playbooks/aws/openshift-cluster/config.yml
@@ -13,7 +13,9 @@
openshift_registry_selector: 'type=infra'
openshift_hosted_router_selector: 'type=infra'
openshift_infra_nodes: "{{ g_infra_hosts }}"
- openshift_node_labels: '{"region": "{{ ec2_region }}", "type": "{{ hostvars[inventory_hostname]["ec2_tag_sub-host-type"] if inventory_hostname in groups["tag_host-type_node"] else hostvars[inventory_hostname]["ec2_tag_host-type"] }}"}'
+ openshift_node_labels:
+ region: "{{ deployment_vars[deployment_type].region }}"
+ type: "{{ hostvars[inventory_hostname]['ec2_tag_sub-host-type'] if inventory_hostname in groups['tag_host-type_node'] else hostvars[inventory_hostname]['ec2_tag_host-type'] }}"
openshift_master_cluster_method: 'native'
openshift_use_openshift_sdn: "{{ lookup('oo_option', 'use_openshift_sdn') }}"
os_sdn_network_plugin_name: "{{ lookup('oo_option', 'sdn_network_plugin_name') }}"