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
103cb902
Commit
103cb902
authored
10 months ago
by
Aleksandr Kurbatov
Browse files
Options
Downloads
Patches
Plain Diff
remove unnecessary `delete_default_routes` tasklist
parent
ca0e4898
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!162
promote-p-to-pe role
Pipeline
#88658
passed
10 months ago
Stage: linting
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
geant/gap_ansible/roles/promote_p_to_pe/tasks/delete_default_routes.yaml
+0
-21
0 additions, 21 deletions
...le/roles/promote_p_to_pe/tasks/delete_default_routes.yaml
geant/gap_ansible/roles/promote_p_to_pe/tasks/main.yml
+0
-4
0 additions, 4 deletions
geant/gap_ansible/roles/promote_p_to_pe/tasks/main.yml
with
0 additions
and
25 deletions
geant/gap_ansible/roles/promote_p_to_pe/tasks/delete_default_routes.yaml
deleted
100644 → 0
+
0
−
21
View file @
ca0e4898
-
name
:
Delete default routes on "{{ inventory_hostname }}" [CHECK ONLY][NOKIA]
when
:
dry_run | ansible.builtin.bool
geant.gap_ansible.nokia_netconf_config
:
format
:
xml
default_operation
:
merge
content
:
"
{{
lookup('ansible.builtin.template',
'routers/{{
subscription.router.vendor
}}/router/delete_default_static_routes.j2')
}}"
commit
:
true
validate
:
true
diff
:
true
check_mode
:
true
-
name
:
Delete default routes on "{{ inventory_hostname }}" [AND COMMIT][NOKIA]
when
:
not (dry_run | ansible.builtin.bool)
geant.gap_ansible.nokia_netconf_config
:
format
:
xml
default_operation
:
merge
content
:
"
{{
lookup('ansible.builtin.template',
'routers/{{
subscription.router.vendor
}}/router/delete_default_static_routes.j2')
}}"
commit
:
true
commit_comment
:
"
{{
commit_comment
}}"
diff
:
true
check_mode
:
false
This diff is collapsed.
Click to expand it.
geant/gap_ansible/roles/promote_p_to_pe/tasks/main.yml
+
0
−
4
View file @
103cb902
...
@@ -56,10 +56,6 @@
...
@@ -56,10 +56,6 @@
when
:
verb in [ 'deploy_pe_base_config', 'update_sdp_mesh', 'deploy_routing_instances', 'delete_default_routes' ]
when
:
verb in [ 'deploy_pe_base_config', 'update_sdp_mesh', 'deploy_routing_instances', 'delete_default_routes' ]
ansible.builtin.include_tasks
:
deploy.yaml
ansible.builtin.include_tasks
:
deploy.yaml
# - name: Include deletion of default static routes
# when: verb == "delete_default_routes"
# ansible.builtin.include_tasks: delete_default_routes.yaml
#
-
name
:
Check VPRNs
-
name
:
Check VPRNs
when
:
verb == "check_base_ris"
when
:
verb == "check_base_ris"
loop
:
"
{{
pe_vprns
}}"
loop
:
"
{{
pe_vprns
}}"
...
...
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