summaryrefslogtreecommitdiffstats
path: root/roles/nuage_master/vars
diff options
context:
space:
mode:
authorVishal Patil <vishal.patil@nuagenetworks.net>2016-05-18 12:25:29 -0400
committerVishal Patil <vishal.patil@nuagenetworks.net>2016-05-18 12:25:29 -0400
commit4e1c508e2c5ad560cbcca04ab98fb040dfa676e6 (patch)
treea1cddbd3e96e34200ebfe0dc945cac4a0e623963 /roles/nuage_master/vars
parent1826e93bcf2ba21f0c1c7368dffd091a8bfbf142 (diff)
downloadopenshift-4e1c508e2c5ad560cbcca04ab98fb040dfa676e6.tar.gz
openshift-4e1c508e2c5ad560cbcca04ab98fb040dfa676e6.tar.bz2
openshift-4e1c508e2c5ad560cbcca04ab98fb040dfa676e6.tar.xz
openshift-4e1c508e2c5ad560cbcca04ab98fb040dfa676e6.zip
Use cluster hostname while generating certificate on the master nodes
Diffstat (limited to 'roles/nuage_master/vars')
-rw-r--r--roles/nuage_master/vars/main.yaml2
1 files changed, 2 insertions, 0 deletions
diff --git a/roles/nuage_master/vars/main.yaml b/roles/nuage_master/vars/main.yaml
index 5bc735bb6..92e716a45 100644
--- a/roles/nuage_master/vars/main.yaml
+++ b/roles/nuage_master/vars/main.yaml
@@ -17,6 +17,8 @@ nuage_mon_rest_server_crt_dir: "{{ nuage_ca_master_crt_dir }}/{{ ansible_nodenam
nuage_ca_master_rest_server_key: "{{ nuage_mon_rest_server_crt_dir }}/nuageMonServer.key"
nuage_ca_master_rest_server_crt: "{{ nuage_mon_rest_server_crt_dir }}/nuageMonServer.crt"
+nuage_mon_rest_server_host: "{{ openshift.master.cluster_hostname | default(openshift.common.hostname) }}"
+
nuage_master_crt_dir : /usr/share/nuage-openshift-monitor
nuage_service_account: system:serviceaccount:default:nuage