Skip to content
Snippets Groups Projects
Commit d0946299 authored by Zuul's avatar Zuul Committed by Gerrit Code Review
Browse files

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

parents fa4d3458 2a177755
No related branches found
No related tags found
No related merge requests found
...@@ -4,7 +4,10 @@ ...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment