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
Merge requests
!206
"eccs.py" did not exist on "846b364edaded3764e578abc86aee9534fb4af9b"
fix the ansible_host in promote_p_to_pe
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
fix the ansible_host in promote_p_to_pe
fix/promote_p_to_pe_sdp_problem
into
develop
Overview
0
Commits
1
Pipelines
1
Changes
2
Merged
Aleksandr Kurbatov
requested to merge
fix/promote_p_to_pe_sdp_problem
into
develop
5 months ago
Overview
0
Commits
1
Pipelines
1
Changes
2
Expand
0
0
Merge request reports
Compare
develop
develop (base)
and
latest version
latest version
ca7ea471
1 commit,
5 months ago
2 files
+
6
−
3
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
geant/gap_ansible/roles/promote_p_to_pe/tasks/compile.yaml
+
4
−
2
Options
@@ -3,7 +3,8 @@
@@ -3,7 +3,8 @@
-
name
:
Set ansible host to localhost to compile config when router is offline
-
name
:
Set ansible host to localhost to compile config when router is offline
when
:
when
:
subscription.router.router_access_via_ts | ansible.builtin.bool
subscription.router.router_access_via_ts | ansible.builtin.bool ansible_host and
inventory_hostname == subscription.router.router_fqdn
ansible.builtin.set_fact
:
ansible.builtin.set_fact
:
ansible_host
:
"
localhost"
ansible_host
:
"
localhost"
ansible_connection
:
local
ansible_connection
:
local
@@ -56,7 +57,8 @@
@@ -56,7 +57,8 @@
-
name
:
Set back ansible_host to target terminal server if needed
-
name
:
Set back ansible_host to target terminal server if needed
when
:
when
:
subscription.router.router_access_via_ts | ansible.builtin.bool
subscription.router.router_access_via_ts | ansible.builtin.bool ansible_host and
inventory_hostname == subscription.router.router_fqdn
ansible.builtin.set_fact
:
ansible.builtin.set_fact
:
ansible_host
:
"
{{
subscription.router.router_site.site_ts_address
}}"
ansible_host
:
"
{{
subscription.router.router_site.site_ts_address
}}"
ansible_connection
:
"
{{
netconf_access[subscription.router.vendor].ansible_connection
}}"
ansible_connection
:
"
{{
netconf_access[subscription.router.vendor].ansible_connection
}}"
Loading