summaryrefslogtreecommitdiffstats
path: root/playbooks
diff options
context:
space:
mode:
authorTim Bielawa <tbielawa@redhat.com>2017-07-20 11:02:37 -0400
committerTim Bielawa <tbielawa@redhat.com>2017-07-21 14:36:53 -0400
commit0004d0be1bd5fe902379aa1b1fef0903dced4326 (patch)
treed422a7dc714c4a756717470cc3db1358e964958f /playbooks
parent87689f890bb6d015f6c07e227174dc7c4172766e (diff)
downloadopenshift-0004d0be1bd5fe902379aa1b1fef0903dced4326.tar.gz
openshift-0004d0be1bd5fe902379aa1b1fef0903dced4326.tar.bz2
openshift-0004d0be1bd5fe902379aa1b1fef0903dced4326.tar.xz
openshift-0004d0be1bd5fe902379aa1b1fef0903dced4326.zip
If proxy in effect, add etcd host IP addresses to NO_PROXY list on masters
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1466783
Diffstat (limited to 'playbooks')
-rw-r--r--playbooks/common/openshift-master/config.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/playbooks/common/openshift-master/config.yml b/playbooks/common/openshift-master/config.yml
index 7d3a371e3..fe6c1daa2 100644
--- a/playbooks/common/openshift-master/config.yml
+++ b/playbooks/common/openshift-master/config.yml
@@ -127,6 +127,9 @@
| union(groups['oo_etcd_to_config'] | default([])))
| oo_collect('openshift.common.hostname') | default([]) | join (',')
}}"
+ openshift_no_proxy_etcd_host_ips: "{{ hostvars | oo_select_keys(groups['oo_etcd_to_config'])
+ | oo_collect('openshift.common.ip') | default([]) | join(',')
+ }}"
roles:
- role: openshift_master
openshift_ca_host: "{{ groups.oo_first_master.0 }}"