Don't add IOMMU to grub when it is not bare metal 53/65753/1
authorStepan Andrushko <stepanx.andrushko@intel.com>
Wed, 12 Dec 2018 14:40:27 +0000 (16:40 +0200)
committerStepan Andrushko <stepanx.andrushko@intel.com>
Wed, 12 Dec 2018 14:49:47 +0000 (16:49 +0200)
commitc09f7e7822cb0ebedf4f4dcb8807896c79c3886e
tree675148767ef8d94d0d36239611c1c9b503feafa9
parentedb66ef37f9d89a783f3eda15d82d6fcebd7598e
Don't add IOMMU to grub when it is not bare metal

Fix needed when running 'enable_iommu_on_boot' ansible role
inside the VM where 'ansible_system_vendor' is neither
'AuthenticAMD' nor 'Intel Corporation'.

JIRA: YARDSTICK-1469

Change-Id: I37e399fd892d1ec41239632948758284ccbe98ac
Signed-off-by: Stepan Andrushko <stepanx.andrushko@intel.com>
ansible/roles/enable_iommu_on_boot/tasks/main.yml