Skip to content
Permalink
Browse files

[ci] Use Python 3 environment, Ansible interpreter

  • Loading branch information...
drybjed committed Aug 11, 2019
1 parent 314c430 commit 7fac942da54eebaad9fb111693e084447c34e67a
Showing with 6 additions and 5 deletions.
  1. +4 −4 Vagrantfile
  2. +2 −1 lib/tests/inventory/common/ansible_meta.json
@@ -441,12 +441,12 @@ if [ -z "${JANE_BOX_INIT:-}" ] ; then
# So we need to install PyPI packages on the real box, not the template.
jane notify install "Installing test requirements via PyPI..."
pip install netaddr python-ldap dnspython passlib future testinfra ${ansible_from_pypi}
pip3 install netaddr python-ldap dnspython passlib future testinfra ${ansible_from_pypi}
mkdir /tmp/build
rsync -a --exclude '.vagrant' /vagrant/ /tmp/build
cd /tmp/build
make sdist > /dev/null
pip install dist/*
pip3 install dist/*
cd - > /dev/null
jane notify cache "Cleaning up cache directories..."
@@ -547,12 +547,12 @@ fi
jane notify install "Installing test requirements via PyPI..."
sudo pip install netaddr python-ldap dnspython passlib future testinfra ${ansible_from_pypi}
sudo pip3 install netaddr python-ldap dnspython passlib future testinfra ${ansible_from_pypi}
mkdir /tmp/build
rsync -a --exclude '.vagrant' /vagrant/ /tmp/build
cd /tmp/build
make sdist > /dev/null
sudo pip install dist/*
sudo pip3 install dist/*
cd - > /dev/null
jane notify cache "Cleaning up cache directories..."
@@ -1,3 +1,4 @@
{
"ansible_connection": "local"
"ansible_connection": "local",
"ansible_python_interpreter": "/usr/bin/python3"
}

0 comments on commit 7fac942

Please sign in to comment.
You can’t perform that action at this time.