Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
GAP Ansible Collection
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Jira
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
GÉANT Orchestration and Automation Team
GAP
GAP Ansible Collection
Commits
1bdcd035
Commit
1bdcd035
authored
7 months ago
by
Aleksandr Kurbatov
Browse files
Options
Downloads
Patches
Plain Diff
Change ansible_connection in base_config_checks
parent
92394810
No related branches found
No related tags found
1 merge request
!189
Fix/ansible connection private config
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
geant/gap_ansible/roles/base_config_checks/tasks/main.yml
+7
-12
7 additions, 12 deletions
geant/gap_ansible/roles/base_config_checks/tasks/main.yml
with
7 additions
and
12 deletions
geant/gap_ansible/roles/base_config_checks/tasks/main.yml
+
7
−
12
View file @
1bdcd035
...
@@ -6,19 +6,14 @@
...
@@ -6,19 +6,14 @@
when
:
when
:
( wfo_router.router.router_access_via_ts | ansible.builtin.bool ) is
true
( wfo_router.router.router_access_via_ts | ansible.builtin.bool ) is
true
-
name
:
Set variable to connect to nokia
-
name
:
Import variables from 'all'
ansible.legacy.set_fact
:
ansible.builtin.include_vars
:
ansible_network_os
:
nokia.sros.md
dir
:
/opt/ansible_inventory/group_vars/all
ansible_connection
:
netconf
when
:
wfo_router.router.vendor == "nokia"
-
name
:
Set variables for connecting to Junos
-
name
:
Set variable to connect to nokia
ansible.legacy.set_fact
:
ansible.builtin.set_fact
:
ansible_network_os
:
junos
ansible_connection
:
"
{{
netconf_access[wfo_router.router.vendor].ansible_connection
}}"
ansible_connection
:
netconf
ansible_network_os
:
"
{{
netconf_access[wfo_router.router.vendor].ansible_network_os
}}"
when
:
wfo_router.router.vendor == "juniper"
-
name
:
Execute post-check command [NOKIA]
-
name
:
Execute post-check command [NOKIA]
when
:
when
:
...
...
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