Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
Kubespray
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mirror
Kubespray
Commits
3ea49601
Unverified
Commit
3ea49601
authored
3 years ago
by
khatrig
Committed by
GitHub
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Create reset.yml (#8227)
parent
7e1873d9
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
roles/network_plugin/calico/tasks/reset.yml
+2
-9
2 additions, 9 deletions
roles/network_plugin/calico/tasks/reset.yml
with
2 additions
and
9 deletions
roles/network_plugin/calico/tasks/reset.yml
+
2
−
9
View file @
3ea49601
...
@@ -11,13 +11,6 @@
...
@@ -11,13 +11,6 @@
command
:
ip link del dummy0
command
:
ip link del dummy0
when
:
dummy0.stat.exists
when
:
dummy0.stat.exists
-
name
:
reset | get remaining routes set by bird
-
name
:
reset | get
and remove
remaining routes set by bird
command
:
ip route show proto bird
shell
:
ip route show proto bird
| xargs -i bash -c "ip route del {} proto bird "
changed_when
:
false
changed_when
:
false
register
:
bird_routes
-
name
:
reset | remove remaining routes set by bird
# noqa 301
command
:
"
ip
route
del
{{
bird_route
}}
proto
bird"
with_items
:
"
{{
bird_routes.stdout_lines
}}"
loop_control
:
loop_var
:
bird_route
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