aboutsummaryrefslogtreecommitdiffstats
path: root/fdio.infra.ansible/roles/intel/tasks/ice.yaml
diff options
context:
space:
mode:
authorPeter Mikus <pmikus@cisco.com>2022-08-17 13:57:23 +0000
committerPeter Mikus <peter.mikus@protonmail.ch>2022-08-19 05:01:23 +0000
commit0b947247146f27936e986c262fc9f1d641b5ac4f (patch)
tree141ee3f1a57b4c7287c0409b876d3fb96769c9cb /fdio.infra.ansible/roles/intel/tasks/ice.yaml
parentd92086e8ee964d2d5700046ef85c6b681844288a (diff)
feat(ansible): Ubuntu Jammy VI.
Signed-off-by: Peter Mikus <pmikus@cisco.com> Change-Id: I7dda690f2dc2e42bf6c67d3faa3327a03de3a9fa
Diffstat (limited to 'fdio.infra.ansible/roles/intel/tasks/ice.yaml')
-rw-r--r--fdio.infra.ansible/roles/intel/tasks/ice.yaml36
1 files changed, 18 insertions, 18 deletions
diff --git a/fdio.infra.ansible/roles/intel/tasks/ice.yaml b/fdio.infra.ansible/roles/intel/tasks/ice.yaml
index 2386c8390c..1c1c199f69 100644
--- a/fdio.infra.ansible/roles/intel/tasks/ice.yaml
+++ b/fdio.infra.ansible/roles/intel/tasks/ice.yaml
@@ -2,7 +2,7 @@
# file: roles/intel/tasks/ice.yaml
- name: Inst - Get ice Network Adapter Driver
- uri:
+ ansible.builtin.uri:
url: "{{ intel_sourceforge_download_url }}/{{ intel_ice_url[ice] }}"
follow_redirects: "all"
force: true
@@ -13,7 +13,7 @@
- intel-inst
- name: Inst - Extract ice Network Adapter Driver
- unarchive:
+ ansible.builtin.unarchive:
remote_src: true
src: "{{ intel_extract_dir }}/ice-{{ ice }}.tar.gz"
dest: "{{ intel_extract_dir }}/"
@@ -23,13 +23,13 @@
- intel-inst
- name: Inst - ice Network Adapter Driver
- command: "{{ item }}"
+ ansible.builtin.command: "{{ item }}"
args:
chdir: "{{ intel_extract_dir }}/ice-{{ ice }}/src"
become: true
with_items:
- "make install"
- - "modprobe -r ice"
+ #- "modprobe -r ice"
- "modprobe ice"
when:
- intel_driver_extracted
@@ -37,7 +37,7 @@
- intel-inst
- name: Inst - Get Dynamic Device Personalization (DDP) Package
- get_url:
+ ansible.builtin.get_url:
url: "{{ intel_download_url }}/{{ intel_ddp_url[ddp] }}"
dest: "{{ intel_extract_dir }}/800-Series-Comms-Binary-Package-{{ ddp }}.zip"
mode: 0644
@@ -45,7 +45,7 @@
- intel-inst
- name: Inst - Extract Dynamic Device Personalization (DDP) Package
- unarchive:
+ ansible.builtin.unarchive:
remote_src: true
src: "{{ intel_extract_dir }}/800-Series-Comms-Binary-Package-{{ ddp }}.zip"
dest: "{{ intel_extract_dir }}/"
@@ -54,17 +54,17 @@
tags:
- intel-inst
-#- name: Inst - Extract Dynamic Device Personalization (DDP) Package
-# unarchive:
-# remote_src: true
-# src: "{{ intel_extract_dir }}/ice_comms-{{ ddp }}.zip"
-# dest: "{{ intel_extract_dir }}/"
-# register: intel_driver_extracted
-# tags:
-# - intel-inst
-#
+- name: Inst - Extract Dynamic Device Personalization (DDP) Package
+ ansible.builtin.unarchive:
+ remote_src: true
+ src: "{{ intel_extract_dir }}/ice_comms-{{ ddp }}.zip"
+ dest: "{{ intel_extract_dir }}/"
+ register: intel_driver_extracted
+ tags:
+ - intel-inst
+
- name: Inst - Copy Dynamic Device Personalization (DDP) Package
- copy:
+ ansible.builtin.copy:
src: "{{ intel_extract_dir }}/ice_comms-{{ ddp }}.pkg"
dest: "/lib/firmware/updates/intel/ice/ddp/ice-{{ ddp }}.pkg"
remote_src: true
@@ -73,7 +73,7 @@
- intel-inst
- name: Inst - Link Dynamic Device Personalization (DDP) Package
- file:
+ ansible.builtin.file:
src: "ice-{{ ddp }}.pkg"
dest: "/lib/firmware/updates/intel/ice/ddp/ice.pkg"
state: link
@@ -81,7 +81,7 @@
- intel-inst
- name: Inst - Extract Dynamic Device Personalization (DDP) Package (cleanup)
- file:
+ ansible.builtin.file:
path: "{{ item }}"
state: absent
with_items: