[libvirt] [jenkins-ci PATCH 3/3] lcitool: Fix pip use on CentOS 7
Daniel P. Berrangé
berrange at redhat.com
Wed Jan 8 10:14:53 UTC 2020
On Tue, Jan 07, 2020 at 04:50:20PM +0100, Andrea Bolognani wrote:
> The 'pip' Ansible module doesn't work correctly when there is a
> mismatch between the Python version we're adding packages to and
> the one used to run Ansible itself: this is the case on CentOS 7,
> where we have Python 3 for the former but Python 2 for the latter.
>
> Call pip3 manually using the 'command' module instead to work
> around this issue.
>
> Signed-off-by: Andrea Bolognani <abologna at redhat.com>
> ---
> guests/playbooks/update/tasks/packages.yml | 9 +++++----
> 1 file changed, 5 insertions(+), 4 deletions(-)
Reviewed-by: Daniel P. Berrangé <berrange at redhat.com>
Regards,
Daniel
--
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o- https://fstop138.berrange.com :|
|: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
More information about the libvir-list
mailing list