turn off host key checking with ad-hoc python-netaddr install and add back in debops command line

pull/715/head
Steven Robertson 4 years ago
parent 550265d426
commit 428f4d8703

@ -10,7 +10,7 @@ ci_lib.run_batches([
# Must be installed separately, as PyNACL indirect requirement causes # Must be installed separately, as PyNACL indirect requirement causes
# newer version to be installed if done in a single pip run. # newer version to be installed if done in a single pip run.
'pip install "pycparser<2.19"', 'pip install "pycparser<2.19"',
'pip install -q ansible==%s' % ci_lib.ANSIBLE_VERSION, 'pip install -qqq debops==2.1.2 ansible==%s' % ci_lib.ANSIBLE_VERSION,
], ],
[ [
'docker pull %s' % (ci_lib.image_for_distro('debian'),), 'docker pull %s' % (ci_lib.image_for_distro('debian'),),

@ -67,7 +67,7 @@ with ci_lib.Fold('job_setup'):
print() print()
print("Setting up python-netaddr...") print("Setting up python-netaddr...")
os.system('ANSIBLE_STRATEGY_PLUGINS={} ansible all -i {} -m apt -a "name=python-netaddr state=present" --become'.format( os.system('ANSIBLE_HOST_KEY_CHECKING=False ANSIBLE_STRATEGY_PLUGINS={} ansible all -i {} -m apt -a "name=python-netaddr state=present" --become'.format(
ansible_strategy_plugin, inventory_path)) ansible_strategy_plugin, inventory_path))
# Now we have real host key checking, we need to turn it off # Now we have real host key checking, we need to turn it off

Loading…
Cancel
Save