Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Dawud <[email protected]>
  • Loading branch information
jovial and technowhizz authored Jul 9, 2024
1 parent b11018f commit 555da33
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion roles/iommu/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,10 @@
ansible.builtin.include_role:
name: stackhpc.linux.grubcmdline
vars:
kernel_cmdline: "{{ ['vfio-pci.ids=' + iommu_vfio_pci_ids] if iommu_vfio_pci_ids is defined else [] }}" # noqa: var-naming[no-role-prefix]
kernel_cmdline: "{{ ['vfio-pci.ids=' + iommu_vfio_pci_ids] }}" # noqa: var-naming[no-role-prefix]
kernel_cmdline_remove: # noqa: var-naming[no-role-prefix]
- ^vfio-pci\.ids=
when: iommu_vfio_pci_ids is defined

- name: Set iommu=pt
ansible.builtin.include_role:
Expand Down

0 comments on commit 555da33

Please sign in to comment.