Browse Source

Gather master facts to make sure cluster_hostname gets appended to no_proxy list on nodes

Vadim Rutkovsky 6 years ago
parent
commit
0c7b5ae598
1 changed files with 5 additions and 0 deletions
  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