From 51bf0a3d83d933b9a764365bad6e6dc48a9953ae Mon Sep 17 00:00:00 2001 From: Sneha Deshpande Date: Wed, 26 Apr 2017 08:24:14 -0700 Subject: Copy Nuage VSD generated user certificates to Openshift master nodes --- roles/nuage_node/tasks/main.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'roles/nuage_node/tasks') diff --git a/roles/nuage_node/tasks/main.yaml b/roles/nuage_node/tasks/main.yaml index d82dd36a4..928f9e2e6 100644 --- a/roles/nuage_node/tasks/main.yaml +++ b/roles/nuage_node/tasks/main.yaml @@ -20,6 +20,21 @@ become: yes yum: name={{ plugin_rpm }} state=present +- name: Assure CNI conf dir exists + become: yes + file: path="{{ cni_conf_dir }}" state=directory + +- name: Assures Openshift CNI bin dir exists + become: yes + file: path="{{ cni_bin_dir }}" state=directory + +- name: Install CNI loopback plugin + become: yes + copy: + src: "{{ k8s_cni_loopback_plugin }}" + dest: "{{ cni_bin_dir }}/{{ k8s_cni_loopback_plugin | basename }}" + mode: 0755 + - name: Copy the certificates and keys become: yes copy: src="/tmp/{{ item }}" dest="{{ vsp_openshift_dir }}/{{ item }}" -- cgit v1.2.3