aboutsummaryrefslogtreecommitdiffstats
path: root/kud/deployment_infra/playbooks
diff options
context:
space:
mode:
authorKuralamudhan Ramakrishnan <kuralamudhan.ramakrishnan@intel.com>2020-05-25 00:12:20 +0000
committerKuralamudhan Ramakrishnan <kuralamudhan.ramakrishnan@intel.com>2020-05-25 00:12:20 +0000
commitcb00c733fc29c715f1f30cbf50534a0811575d7f (patch)
tree5b6ec158f76e439c6460370358bd4b8dcde4a114 /kud/deployment_infra/playbooks
parent10b401413dd722ef57de79ba3caaa873ed1093b8 (diff)
sriov baremetal installation fix
Signed-off-by: Kuralamudhan Ramakrishnan <kuralamudhan.ramakrishnan@intel.com> Issue-ID: MULTICLOUD-1074 Change-Id: I5c497aef954945c4baee10ff5613b220ed9b8152
Diffstat (limited to 'kud/deployment_infra/playbooks')
-rw-r--r--kud/deployment_infra/playbooks/kud-vars.yml8
-rw-r--r--kud/deployment_infra/playbooks/preconfigure-sriov.yml8
2 files changed, 11 insertions, 5 deletions
diff --git a/kud/deployment_infra/playbooks/kud-vars.yml b/kud/deployment_infra/playbooks/kud-vars.yml
index 77bf9224..7a25670d 100644
--- a/kud/deployment_infra/playbooks/kud-vars.yml
+++ b/kud/deployment_infra/playbooks/kud-vars.yml
@@ -62,7 +62,13 @@ helm_client_version: 2.13.1
# kud playbooks not compatible with 2.8.0 - see MULTICLOUD-634
ansible_version: 2.7.10
-qat_dest: "{{ base_dest }}/qat"
+sriov_dest: "{{ base_dest }}/sriov"
+sriov_driver_source_type: "tarball"
+sriov_driver_version: 3.7.34
+sriov_driver_url: "https://downloadmirror.intel.com/28943/eng/iavf-{{ sriov_driver_version }}.tar.gz"
+sriov_package: iavf-3.7.34
+
+qat_dest: "{{ base_dest }}/qat_driver"
qat_driver_source_type: "tarball"
qat_driver_version: 1.7.l.4.6.0-00025
qat_driver_url: "https://01.org/sites/default/files/downloads/{{ qat_package }}.tar.gz"
diff --git a/kud/deployment_infra/playbooks/preconfigure-sriov.yml b/kud/deployment_infra/playbooks/preconfigure-sriov.yml
index fd16d935..4c633ced 100644
--- a/kud/deployment_infra/playbooks/preconfigure-sriov.yml
+++ b/kud/deployment_infra/playbooks/preconfigure-sriov.yml
@@ -70,16 +70,16 @@
ignore_errors: yes
when: SRIOV_NODE
- name: Get SRIOV compatible driver
- get_url: "url={{ driver_url }} dest=/tmp/{{ package }}.tar.gz"
+ get_url: "url={{ sriov_driver_url }} dest=/tmp/{{ sriov_package }}.tar.gz"
when: SRIOV_NODE
- name: Extract sriov source code
unarchive:
- src: "/tmp/{{ package }}.tar.gz"
+ src: "/tmp/{{ sriov_package }}.tar.gz"
dest: "{{ sriov_dest }}"
when: SRIOV_NODE
- name: Build the default target
make:
- chdir: "/tmp/sriov/{{ package }}/src"
+ chdir: "{{ sriov_dest }}/{{ sriov_package }}/src"
become: yes
when: SRIOV_NODE
# Copy all the driver and install script into target node
@@ -99,7 +99,7 @@
- sriov_driver
when: _SRIOV
- copy:
- src: "{{ sriov_dest }}/{{ package }}/src/iavf.ko"
+ src: "{{ sriov_dest }}/{{ sriov_package }}/src/iavf.ko"
dest: sriov_driver
remote_src: no
when: _SRIOV