summaryrefslogtreecommitdiffstats
path: root/playbooks/common/openshift-master
diff options
context:
space:
mode:
authorBrenton Leanhardt <bleanhar@redhat.com>2016-02-01 11:43:48 -0500
committerBrenton Leanhardt <bleanhar@redhat.com>2016-02-01 11:43:48 -0500
commit3d3053062ee3bca175df6eb4dd66ff56237234ca (patch)
treeebc814ec2f1ccaaf12e4ab3be1b5395dd82c5408 /playbooks/common/openshift-master
parentb0961af3b0ee955be033fc043b1e072097dfbd69 (diff)
parent1a5b22dd4f4dd3a1643abc14bdbae045999cea44 (diff)
downloadopenshift-3d3053062ee3bca175df6eb4dd66ff56237234ca.tar.gz
openshift-3d3053062ee3bca175df6eb4dd66ff56237234ca.tar.bz2
openshift-3d3053062ee3bca175df6eb4dd66ff56237234ca.tar.xz
openshift-3d3053062ee3bca175df6eb4dd66ff56237234ca.zip
Merge pull request #1237 from detiber/infra_fixes
infra_node fixes
Diffstat (limited to 'playbooks/common/openshift-master')
-rw-r--r--playbooks/common/openshift-master/config.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/playbooks/common/openshift-master/config.yml b/playbooks/common/openshift-master/config.yml
index 12497bf94..6f86703d6 100644
--- a/playbooks/common/openshift-master/config.yml
+++ b/playbooks/common/openshift-master/config.yml
@@ -164,6 +164,11 @@
| list ) }}"
master_cert_subdir: master-{{ openshift.common.hostname }}
master_cert_config_dir: "{{ openshift.common.config_base }}/master"
+ - set_fact:
+ openshift_infra_nodes: "{{ hostvars | oo_select_keys(groups['nodes'])
+ | oo_nodes_with_label('region', 'infra')
+ | oo_collect('inventory_hostname') }}"
+ when: openshift_infra_nodes is not defined
- name: Configure master certificates
hosts: oo_first_master