Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
Kayobe
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Very Demiurge Very Mindful
Kayobe
Commits
a5f1f2bc
Commit
a5f1f2bc
authored
5 years ago
by
Zuul
Committed by
Gerrit Code Review
5 years ago
Browse files
Options
Downloads
Plain Diff
Merge "Junos switch: update ncclient to 0.6.7+"
parents
f41cde46
1560bbc8
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ansible/roles/junos-switch/tasks/main.yml
+5
-4
5 additions, 4 deletions
ansible/roles/junos-switch/tasks/main.yml
with
5 additions
and
4 deletions
ansible/roles/junos-switch/tasks/main.yml
+
5
−
4
View file @
a5f1f2bc
...
@@ -2,12 +2,13 @@
...
@@ -2,12 +2,13 @@
# The NETCONF client ncclient is required. This must be installed on the
# The NETCONF client ncclient is required. This must be installed on the
# Ansible control host where the ansible-connection subprocess is executed.
# Ansible control host where the ansible-connection subprocess is executed.
-
name
:
Ensure python dependencies are installed
-
name
:
Ensure python dependencies are installed
vars
:
# NOTE(mgoddard): 0.6.7 includes a fix for host key checking:
# https://github.com/ncclient/ncclient/issues/302.
ncclient_version
:
"
>=0.6.7,<0.7.0"
local_action
:
local_action
:
module
:
pip
module
:
pip
# NOTE(mgoddard): Restrict ncclient to 0.6.2 or less, due to a bug in host
name
:
"
ncclient{{
ncclient_version
}}"
# 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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment