summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason DeTiberus <jdetiber@redhat.com>2016-01-29 17:43:09 -0500
committerJason DeTiberus <jdetiber@redhat.com>2016-02-01 09:29:13 -0500
commit91018aa8bce65b59429f5ab17593873136cb0a69 (patch)
treeaca97d1da247634ccdc6917d134b507e0552ddea
parent5a50546e89b28706c732a5beafb2aeebed2a160a (diff)
downloadopenshift-91018aa8bce65b59429f5ab17593873136cb0a69.tar.gz
openshift-91018aa8bce65b59429f5ab17593873136cb0a69.tar.bz2
openshift-91018aa8bce65b59429f5ab17593873136cb0a69.tar.xz
openshift-91018aa8bce65b59429f5ab17593873136cb0a69.zip
Fix node tags for aws provider
-rw-r--r--playbooks/aws/openshift-cluster/config.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/playbooks/aws/openshift-cluster/config.yml b/playbooks/aws/openshift-cluster/config.yml
index cb16896b1..0b6edd70b 100644
--- a/playbooks/aws/openshift-cluster/config.yml
+++ b/playbooks/aws/openshift-cluster/config.yml
@@ -1,4 +1,3 @@
----
- include: ../../common/openshift-cluster/config.yml
vars_files:
- ../../aws/openshift-cluster/vars.yml
@@ -14,3 +13,4 @@
openshift_public_hostname: "{{ ec2_ip_address }}"
openshift_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"] }}"}'