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
Reviewed: https:/ /review. openstack. org/457695 /git.openstack. org/cgit/ openstack/ openstack- ansible- lxc_hosts/ commit/ ?id=0fd42e3dc04 84f2fe76914d29b 04c9518f66ad4d
Committed: https:/
Submitter: Jenkins
Branch: master
commit 0fd42e3dc0484f2 fe76914d29b04c9 518f66ad4d
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 81992d6cf1dc3f4 9c64e900c2d
Related-Bug: 1682108
Change-Id: Ia87fdc30e200bf