diff options
author | Peter Mikus <pmikus@cisco.com> | 2022-08-17 13:57:23 +0000 |
---|---|---|
committer | Peter Mikus <peter.mikus@protonmail.ch> | 2022-08-19 05:01:23 +0000 |
commit | 0b947247146f27936e986c262fc9f1d641b5ac4f (patch) | |
tree | 141ee3f1a57b4c7287c0409b876d3fb96769c9cb /fdio.infra.ansible/roles/intel/tasks/main.yaml | |
parent | d92086e8ee964d2d5700046ef85c6b681844288a (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/main.yaml')
-rw-r--r-- | fdio.infra.ansible/roles/intel/tasks/main.yaml | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/fdio.infra.ansible/roles/intel/tasks/main.yaml b/fdio.infra.ansible/roles/intel/tasks/main.yaml index 62d8d90499..864811b218 100644 --- a/fdio.infra.ansible/roles/intel/tasks/main.yaml +++ b/fdio.infra.ansible/roles/intel/tasks/main.yaml @@ -2,7 +2,7 @@ # file: roles/intel/tasks/main.yaml - name: Inst - Update Package Cache (APT) - apt: + ansible.builtin.apt: update_cache: true cache_valid_time: 3600 when: @@ -11,14 +11,14 @@ - intel-inst-drivers - name: Inst - Prerequisites - package: + ansible.builtin.package: name: "{{ packages | flatten(levels=1) }}" state: latest 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; lspci -d 8086:158a; lspci -d 8086:158b" + ansible.builtin.shell: "lspci -d 8086:1583; lspci -d 8086:1585; lspci -d 8086:1572; lspci -d 8086:158a; lspci -d 8086:158b" register: intel_700_pcis failed_when: false changed_when: false @@ -26,7 +26,7 @@ - intel-inst-drivers - name: Inst - Check Presence of Intel Ethernet 800 Series - shell: "lspci -d 8086:1592; lspci -d 8086:1891" + ansible.builtin.shell: "lspci -d 8086:1592; lspci -d 8086:1891" register: intel_800_pcis failed_when: false changed_when: false @@ -34,7 +34,7 @@ - intel-inst-drivers - name: Inst - Get Intel Ethernet 700 Series driver versions - set_fact: + ansible.builtin.set_fact: i40e: "{{ intel_700_compatibility_matrix[intel_700_matrix]['i40e'] }}" iavf: "{{ intel_700_compatibility_matrix[intel_700_matrix]['iavf'] }}" nvm: "{{ intel_700_compatibility_matrix[intel_700_matrix]['nvm'] }}" @@ -44,7 +44,7 @@ - intel-inst-drivers - name: Inst - Get Intel Ethernet 800 Series driver versions - set_fact: + ansible.builtin.set_fact: ice: "{{ intel_800_compatibility_matrix[intel_800_matrix]['ice'] }}" ddp: "{{ intel_800_compatibility_matrix[intel_800_matrix]['ddp'] }}" iavf: "{{ intel_800_compatibility_matrix[intel_800_matrix]['iavf'] }}" |