netaddr needs to be on the Ansible controller, not in target nodes
This commit is contained in:
parent
4721334dc9
commit
8b845974fb
|
@ -10,7 +10,7 @@ ci_lib.run_batches([
|
|||
# Must be installed separately, as PyNACL indirect requirement causes
|
||||
# newer version to be installed if done in a single pip run.
|
||||
'pip install "pycparser<2.19"',
|
||||
'pip install -qqq debops==2.1.2 ansible==%s' % ci_lib.ANSIBLE_VERSION,
|
||||
'pip install -qqq debops==2.1.2 netaddr==0.8.0 ansible==%s' % ci_lib.ANSIBLE_VERSION,
|
||||
],
|
||||
[
|
||||
'docker pull %s' % (ci_lib.image_for_distro('debian'),),
|
||||
|
|
|
@ -66,10 +66,6 @@ with ci_lib.Fold('job_setup'):
|
|||
print('---')
|
||||
print()
|
||||
|
||||
print("Setting up python-netaddr...")
|
||||
os.system('ANSIBLE_HOST_KEY_CHECKING=False ANSIBLE_STRATEGY_PLUGINS={} ansible all -i {} -m apt -a "name=python-netaddr state=present update_cache=yes" --become'.format(
|
||||
ansible_strategy_plugin, inventory_path))
|
||||
|
||||
# Now we have real host key checking, we need to turn it off
|
||||
os.environ['ANSIBLE_HOST_KEY_CHECKING'] = 'False'
|
||||
|
||||
|
|
Loading…
Reference in New Issue