We're seeing failures where ansible_processor is missing. We should try
to do a hardware fact collection if ansible_processor is not defined
before executing the set-libvirt-type role tasks
Change-Id: I40ae758d687dd8f637c27c0e7acf76dbf60adb51
Closes-Bug: #1849895
This leads to issues with people figuring out the true failure.
Now the role should check virt extensions on cpu flags and
ignore non-fatal errors.
Change-Id: Ic7e1062585e1a17b907b7185e6ba68362763e18e
Closes-Bug: #1806496
Upgrades yamllint to latest version and adots use of its strict
checking.
Fix all known problems reported by yamllint so we don't have to do
that while touching these files.
Change-Id: I4bdc520d9e2aff086c4b463718bc1e053261a4f5
Story: https://tree.taiga.io/project/tripleo-ci-board/task/381
Apparently after merging https://review.openstack.org/#/c/584380
we got a consistent failure in the 3node and scn008 jobs:
invalid argument: could not find capabilities for domaintype=kvm
Try to enable kvm nested virtualization and switch back to default
qemu full emulation if kvm-{intel|amd} module cannot be loaded.
In addition, remove the current logic behind ansible_distribution
== 'RedHat' to enable kvm as this condition must run on overcloud
and also depends on cpu capabilities.
Change-Id: Iaa936facc5148ee6ff136db1524584785588c01e
Closes-Bug: #1784017