summaryrefslogtreecommitdiffstats
path: root/roles/nuage_node/tasks
diff options
context:
space:
mode:
authorOpenShift Bot <eparis+openshiftbot@redhat.com>2017-06-01 12:07:41 -0500
committerGitHub <noreply@github.com>2017-06-01 12:07:41 -0500
commit1015166e2d7fe02a2f6a42cea53b1d64a119a80e (patch)
treef46d19836de3f098e0ff809dc842b6a0c881516d /roles/nuage_node/tasks
parentd1e91e82e3cce236ba8fb07ed8c71f6016482562 (diff)
parent51bf0a3d83d933b9a764365bad6e6dc48a9953ae (diff)
downloadopenshift-1015166e2d7fe02a2f6a42cea53b1d64a119a80e.tar.gz
openshift-1015166e2d7fe02a2f6a42cea53b1d64a119a80e.tar.bz2
openshift-1015166e2d7fe02a2f6a42cea53b1d64a119a80e.tar.xz
openshift-1015166e2d7fe02a2f6a42cea53b1d64a119a80e.zip
Merge pull request #4015 from rparulek/copy-nuage-vsd-certs
Merged by openshift-bot
Diffstat (limited to 'roles/nuage_node/tasks')
-rw-r--r--roles/nuage_node/tasks/main.yaml15
1 files changed, 15 insertions, 0 deletions
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 }}"