tenks/ansible
Pierre Riteau 5746ed2a27 Fix 'The `libvirt` module is not importable' error
Upper constraints were updated [1] to allow libvirt-python 7.5.0. The
first Kayobe builds using this version worked fine, but later they
started failing with the error:

    The `libvirt` module is not importable. Check the requirements.

The main difference is that successful jobs were using the source
archive libvirt-python-7.5.0.tar.gz, while failing jobs were using the
wheel libvirt_python-7.5.0-cp36-cp36m-linux_x86_64.whl.

Install libvirt-python from source to avoid this issue.

Update the ansible-lint configuration to ignore errors coming from the
stackhpc.libvirt-vm role, fixing the tenks-tox-ansible-lint job.

[1] https://review.opendev.org/c/openstack/requirements/+/799347

Change-Id: I746d01ed355330c965b90657264d89a4ef7995d2
2021-07-09 15:04:27 +02:00
..
action_plugins Py2 - Remove six, mock and future 2020-05-04 15:22:23 +02:00
filter_plugins CI: Fix ansible-lint failure 2020-11-24 15:37:20 +00:00
group_vars Trust receive filters of baremetal nodes 2020-06-18 14:04:37 +01:00
host_vars Allow setting node and volume name prefixes per-spec 2019-01-31 11:24:58 +00:00
inventory Remove 'controllers' group in favour of localhost 2018-08-23 15:38:39 +00:00
library Bump ansible version constraints to >=2.7,<2.10 2020-03-11 16:55:09 +00:00
roles Fix 'The `libvirt` module is not importable' error 2021-07-09 15:04:27 +02:00
vars Do not install Open vSwitch 2019-10-21 16:59:06 +01:00
cleanup_state.yml Fix ansiblelint 208 2020-09-01 11:33:13 +02:00
deploy.yml Add playbook tags 2019-03-27 16:43:13 +00:00
flavor_registration.yml Add playbook tags 2019-03-27 16:43:13 +00:00
host_setup.yml Install virtualbmc to system when SELinux is enabled 2020-02-27 15:47:44 +00:00
hypervisor_setup.yml Fix ansiblelint 208 2020-09-01 11:33:13 +02:00
node_bmc.yml Install virtualbmc to system when SELinux is enabled 2020-02-27 15:47:44 +00:00
node_enrolment.yml Add playbook tags 2019-03-27 16:43:13 +00:00
node_instantiation.yml Add playbook tags 2019-03-27 16:43:13 +00:00
node_networking.yml Support linux bridge in addition to OVS 2020-03-13 11:12:37 +00:00
override.yml.example Changes to support standalone ironic 2018-12-20 09:48:21 +00:00
physical_network.yml Support linux bridge in addition to OVS 2020-03-13 11:12:37 +00:00
resource_wait.yml Add playbook tags 2019-03-27 16:43:13 +00:00
schedule.yml Fix ansiblelint 208 2020-09-01 11:33:13 +02:00
teardown.yml Add playbook tags 2019-03-27 16:43:13 +00:00