aboutsummaryrefslogtreecommitdiffstats
path: root/kud/deployment_infra/playbooks/preconfigure-sriov.yml
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/preconfigure-sriov.yml
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/preconfigure-sriov.yml')
-rw-r--r--kud/deployment_infra/playbooks/preconfigure-sriov.yml8
1 files changed, 4 insertions, 4 deletions
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