aboutsummaryrefslogtreecommitdiffstats
path: root/fdio.infra.ansible/roles/intel
diff options
context:
space:
mode:
Diffstat (limited to 'fdio.infra.ansible/roles/intel')
-rw-r--r--fdio.infra.ansible/roles/intel/defaults/main.yaml2
-rw-r--r--fdio.infra.ansible/roles/intel/tasks/i40e.yaml2
-rw-r--r--fdio.infra.ansible/roles/intel/tasks/iavf.yaml2
-rw-r--r--fdio.infra.ansible/roles/intel/tasks/ice.yaml6
-rw-r--r--fdio.infra.ansible/roles/intel/tasks/main.yaml34
5 files changed, 23 insertions, 23 deletions
diff --git a/fdio.infra.ansible/roles/intel/defaults/main.yaml b/fdio.infra.ansible/roles/intel/defaults/main.yaml
index 1ea3966f4a..0ad227d13b 100644
--- a/fdio.infra.ansible/roles/intel/defaults/main.yaml
+++ b/fdio.infra.ansible/roles/intel/defaults/main.yaml
@@ -32,4 +32,4 @@ intel_ice_driver_dir: "/opt"
intel_ddp_version: "1.3.28.0"
intel_ddp_profile_url: "{{ intel_download_url }}/29889/eng/800%20Series%20Comms%20Binary%20Package%20{{ intel_ddp_version }}.zip"
-intel_ddp_profile_dir: "/opt" \ No newline at end of file
+intel_ddp_profile_dir: "/opt"
diff --git a/fdio.infra.ansible/roles/intel/tasks/i40e.yaml b/fdio.infra.ansible/roles/intel/tasks/i40e.yaml
index fe8ae7c5ea..1831dd1dad 100644
--- a/fdio.infra.ansible/roles/intel/tasks/i40e.yaml
+++ b/fdio.infra.ansible/roles/intel/tasks/i40e.yaml
@@ -27,7 +27,7 @@
- "make install"
- "modprobe -r i40e"
- "modprobe i40e"
- failed_when: no
+ failed_when: true
when:
- intel_driver_extracted
tags:
diff --git a/fdio.infra.ansible/roles/intel/tasks/iavf.yaml b/fdio.infra.ansible/roles/intel/tasks/iavf.yaml
index 9ec6781d59..dfdb496085 100644
--- a/fdio.infra.ansible/roles/intel/tasks/iavf.yaml
+++ b/fdio.infra.ansible/roles/intel/tasks/iavf.yaml
@@ -27,7 +27,7 @@
- "make install"
- "modprobe -r iavf"
- "modprobe iavf"
- failed_when: no
+ failed_when: true
when:
- intel_driver_extracted
tags:
diff --git a/fdio.infra.ansible/roles/intel/tasks/ice.yaml b/fdio.infra.ansible/roles/intel/tasks/ice.yaml
index 0a2fe8a858..9baa9d050d 100644
--- a/fdio.infra.ansible/roles/intel/tasks/ice.yaml
+++ b/fdio.infra.ansible/roles/intel/tasks/ice.yaml
@@ -27,7 +27,7 @@
- "make install"
- "modprobe -r ice"
- "modprobe ice"
- failed_when: no
+ failed_when: false
when:
- intel_driver_extracted
tags:
@@ -64,8 +64,8 @@
copy:
src: "{{ intel_ddp_profile_dir }}/ice_comms-{{ intel_ddp_version }}.pkg"
dest: "/lib/firmware/updates/intel/ice/ddp/ice-{{ intel_ddp_version }}.pkg"
- remote_src: yes
- follow: yes
+ remote_src: true
+ follow: true
tags:
- intel-inst
diff --git a/fdio.infra.ansible/roles/intel/tasks/main.yaml b/fdio.infra.ansible/roles/intel/tasks/main.yaml
index 4f6289113d..0d361a951d 100644
--- a/fdio.infra.ansible/roles/intel/tasks/main.yaml
+++ b/fdio.infra.ansible/roles/intel/tasks/main.yaml
@@ -3,7 +3,7 @@
- name: Inst - Update Package Cache (APT)
apt:
- update_cache: yes
+ update_cache: true
cache_valid_time: 3600
when:
- ansible_distribution|lower == 'ubuntu'
@@ -20,16 +20,16 @@
- name: Inst - Check Presence of Intel Ethernet 810 Series
shell: "lspci -d 8086:1592"
register: intel_e810_pcis
- failed_when: no
- changed_when: no
+ failed_when: false
+ changed_when: false
tags:
- intel-inst-drivers
- name: Inst - Check Presence of Intel Ethernet 700 Series
shell: "lspci -d 8086:1583; lspci -d 8086:1585; lspci -d 8086:1572"
register: intel_700_pcis
- failed_when: no
- changed_when: no
+ failed_when: false
+ changed_when: false
tags:
- intel-inst-drivers
@@ -40,16 +40,16 @@
tags:
- intel-inst-drivers
-#- name: Inst - Driver Intel Ethernet 700 Series
-# import_tasks: i40e.yaml
-# when:
-# - intel_700_pcis.stdout_lines | length > 0
-# tags:
-# - intel-inst-drivers
+# - name: Inst - Driver Intel Ethernet 700 Series
+# import_tasks: i40e.yaml
+# when:
+# - intel_700_pcis.stdout_lines | length > 0
+# tags:
+# - intel-inst-drivers
-#- name: Inst - VF Driver Intel
-# import_tasks: iavf.yaml
-# when:
-# - intel_700_pcis.stdout_lines | length > 0 or intel_e810_pcis.stdout_lines | length > 0
-# tags:
-# - intel-inst-drivers
+# - name: Inst - VF Driver Intel
+# import_tasks: iavf.yaml
+# when:
+# - intel_700_pcis.stdout_lines | length > 0 or intel_e810_pcis.stdout_lines | length > 0
+# tags:
+# - intel-inst-drivers