need python-netaddr in docker target containers for debops

pull/715/head
Steven Robertson 4 years ago
parent 9e17c98f3f
commit db5e7032c8

@ -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',
],
])

@ -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'

Loading…
Cancel
Save