Merge "Restrict ncclient to 0.6.2 to avoid unknown host key issue"

This commit is contained in:
Zuul 2019-08-14 19:35:33 +00:00 committed by Gerrit Code Review
commit d094629926

View File

@ -4,7 +4,10 @@
- name: Ensure python dependencies are installed - name: Ensure python dependencies are installed
local_action: local_action:
module: pip module: pip
name: ncclient # NOTE(mgoddard): Restrict ncclient to 0.6.2 or less, due to a bug in host
# key checking: https://github.com/ncclient/ncclient/issues/302.
# TODO(mgoddard): Remove this restriction when ncclient has been fixed.
name: ncclient<=0.6.2
virtualenv: "{{ lookup('env', 'VIRTUAL_ENV') | default(omit, true) }}" virtualenv: "{{ lookup('env', 'VIRTUAL_ENV') | default(omit, true) }}"
become: "{{ lookup('env', 'VIRTUAL_ENV') == None }}" become: "{{ lookup('env', 'VIRTUAL_ENV') == None }}"
run_once: true run_once: true