diff --git a/.ci/debops_common_install.py b/.ci/debops_common_install.py index 4d66c39c..470a5f5e 100755 --- a/.ci/debops_common_install.py +++ b/.ci/debops_common_install.py @@ -14,7 +14,6 @@ ci_lib.run_batches([ ], [ 'docker pull %s' % (ci_lib.image_for_distro('debian'),), - 'sudo apt-get update && sudo apt-get install --no-install-recommends python-netaddr', ], ]) diff --git a/.ci/debops_common_tests.py b/.ci/debops_common_tests.py index e8f2907b..731f9b08 100755 --- a/.ci/debops_common_tests.py +++ b/.ci/debops_common_tests.py @@ -64,6 +64,9 @@ with ci_lib.Fold('job_setup'): print('---') print() + print("Setting up python-netaddr...") + ci_lib.run('ansible all -i {} -m apt -a "name=python-netaddr state=present" --become'.format(inventory_path)) + # Now we have real host key checking, we need to turn it off os.environ['ANSIBLE_HOST_KEY_CHECKING'] = 'False'