Comment 4 for bug 1682108

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to openstack-ansible-lxc_hosts (master)

Reviewed: https://review.openstack.org/457695
Committed: https://git.openstack.org/cgit/openstack/openstack-ansible-lxc_hosts/commit/?id=0fd42e3dc0484f2fe76914d29b04c9518f66ad4d
Submitter: Jenkins
Branch: master

commit 0fd42e3dc0484f2fe76914d29b04c9518f66ad4d
Author: Markos Chandras <email address hidden>
Date: Tue Apr 18 12:03:26 2017 +0100

    tox.ini: Set PYTHONPATH when executing tox tests

    Ansible seems to override the default PYTHONPATH so set PYTHONPATH
    explicitely to point to the virtualenv location so that ansible modules
    can import the LXC module.

    Link: https://github.com/ansible/ansible/blob/devel/lib/ansible/executor/module_common.py#L154
    Related-Bug: 1682108
    Change-Id: Ia87fdc30e200bf81992d6cf1dc3f49c64e900c2d