Browse Source

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 năm trước cách đây
mục cha
commit
e0f19e8a17

+ 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