浏览代码

Merge pull request #8962 from vrutkovs/noproxy-nodes

Gather master facts to make sure cluster_hostname gets appended to no_proxy list on nodes
Vadim Rutkovsky 6 年之前
父节点
当前提交
e0f19e8a17
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5 0
      roles/openshift_node/tasks/config/configure-proxy-settings.yml

+ 5 - 0
roles/openshift_node/tasks/config/configure-proxy-settings.yml

@@ -1,4 +1,9 @@
 ---
+- openshift_facts:
+    role: master
+    local_facts:
+      cluster_hostname: "{{ openshift_master_cluster_hostname | default(None) }}"
+
 - name: Configure Proxy Settings
   lineinfile:
     dest: /etc/sysconfig/{{ openshift_service_type }}-node