Browse Source

Fix references to openshift.master.sdn_cluster_network_cidr in node roles

Scott Dodson 8 years ago
parent
commit
72d654637a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      roles/openshift_node/tasks/systemd_units.yml

+ 1 - 1
roles/openshift_node/tasks/systemd_units.yml

@@ -60,7 +60,7 @@
     - regex: '^HTTPS_PROXY='
       line: "HTTPS_PROXY={{ openshift.common.https_proxy }}"
     - regex: '^NO_PROXY='
-      line: "NO_PROXY={{ openshift.common.no_proxy | join(',') }},{{ openshift.common.portal_net }},{{ openshift.master.sdn_cluster_network_cidr }}"
+      line: "NO_PROXY={{ openshift.common.no_proxy | join(',') }},{{ openshift.common.portal_net }},{{ hostvars[groups.oo_first_master.0].openshift.master.sdn_cluster_network_cidr }}"
   when: "{{ openshift.common.http_proxy is defined and openshift.common.http_proxy != '' }}"
   notify:
   - restart node