From db5e7032c8843e597ff83673e7644ef8352154b0 Mon Sep 17 00:00:00 2001 From: Steven Robertson Date: Sun, 25 Oct 2020 16:33:14 -0700 Subject: [PATCH] need python-netaddr in docker target containers for debops --- .ci/debops_common_install.py | 1 - .ci/debops_common_tests.py | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-) 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'