summaryrefslogtreecommitdiffstats
path: root/roles/nuage_master/tasks
diff options
context:
space:
mode:
authorSneha Deshpande <sneha.deshpande@nokia.com>2017-04-26 08:24:14 -0700
committerRohan Parulekar <rohan.s.parulekar@nuagenetworks.net>2017-05-22 09:16:39 -0700
commit51bf0a3d83d933b9a764365bad6e6dc48a9953ae (patch)
tree22f7a362712ff25c10279edcc24113373868e789 /roles/nuage_master/tasks
parent896a0c90b34217fab19160ea48c51f926fbcdeed (diff)
downloadopenshift-51bf0a3d83d933b9a764365bad6e6dc48a9953ae.tar.gz
openshift-51bf0a3d83d933b9a764365bad6e6dc48a9953ae.tar.bz2
openshift-51bf0a3d83d933b9a764365bad6e6dc48a9953ae.tar.xz
openshift-51bf0a3d83d933b9a764365bad6e6dc48a9953ae.zip
Copy Nuage VSD generated user certificates to Openshift master nodes
Diffstat (limited to 'roles/nuage_master/tasks')
-rw-r--r--roles/nuage_master/tasks/main.yaml8
1 files changed, 8 insertions, 0 deletions
diff --git a/roles/nuage_master/tasks/main.yaml b/roles/nuage_master/tasks/main.yaml
index fefd28bbd..4f8adb63e 100644
--- a/roles/nuage_master/tasks/main.yaml
+++ b/roles/nuage_master/tasks/main.yaml
@@ -33,6 +33,14 @@
- include: certificates.yml
+- name: Install Nuage VSD user certificate
+ become: yes
+ copy: src="{{ vsd_user_cert_file }}" dest="{{ cert_output_dir }}/{{ vsd_user_cert_file | basename }}"
+
+- name: Install Nuage VSD user key
+ become: yes
+ copy: src="{{ vsd_user_key_file }}" dest="{{ cert_output_dir }}/{{ vsd_user_key_file | basename }}"
+
- name: Create nuage-openshift-monitor.yaml
become: yes
template: src=nuage-openshift-monitor.j2 dest=/usr/share/nuage-openshift-monitor/nuage-openshift-monitor.yaml owner=root mode=0644