summaryrefslogtreecommitdiffstats
path: root/roles/openshift_master
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 /roles/openshift_master
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 'roles/openshift_master')
-rw-r--r--roles/openshift_master/tasks/main.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/roles/openshift_master/tasks/main.yml b/roles/openshift_master/tasks/main.yml
index 9b7125240..c643c6c46 100644
--- a/roles/openshift_master/tasks/main.yml
+++ b/roles/openshift_master/tasks/main.yml
@@ -140,6 +140,12 @@
- set_fact:
openshift_push_via_dns: "{{ (openshift_use_dnsmasq | default(true) and openshift.common.version_gte_3_6) or (already_set.stdout | match('OPENSHIFT_DEFAULT_REGISTRY=docker-registry.default.svc:5000')) }}"
+- name: Set fact of all etcd host IPs
+ openshift_facts:
+ role: common
+ local_facts:
+ no_proxy_etcd_host_ips: "{{ openshift_no_proxy_etcd_host_ips }}"
+
- name: Install the systemd units
include: systemd_units.yml