diff options
author | Brenton Leanhardt <bleanhar@redhat.com> | 2016-02-01 11:43:48 -0500 |
---|---|---|
committer | Brenton Leanhardt <bleanhar@redhat.com> | 2016-02-01 11:43:48 -0500 |
commit | 3d3053062ee3bca175df6eb4dd66ff56237234ca (patch) | |
tree | ebc814ec2f1ccaaf12e4ab3be1b5395dd82c5408 /playbooks/common/openshift-master | |
parent | b0961af3b0ee955be033fc043b1e072097dfbd69 (diff) | |
parent | 1a5b22dd4f4dd3a1643abc14bdbae045999cea44 (diff) | |
download | openshift-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.yml | 5 |
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 |