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
742a1681
Commit
742a1681
authored
8 years ago
by
Matthew Mosesohn
Committed by
GitHub
8 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #1166 from rogerwelin/master
add iptables --flush to reset role
parents
fba9b9cb
f4638c75
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
roles/reset/tasks/main.yml
+4
-0
4 additions, 0 deletions
roles/reset/tasks/main.yml
with
4 additions
and
0 deletions
roles/reset/tasks/main.yml
+
4
−
0
View file @
742a1681
...
@@ -49,6 +49,10 @@
...
@@ -49,6 +49,10 @@
command
:
umount {{item}}
command
:
umount {{item}}
with_items
:
'
{{
mounted_dirs.stdout_lines
}}'
with_items
:
'
{{
mounted_dirs.stdout_lines
}}'
-
name
:
flush iptables
iptables
:
flush
:
yes
-
name
:
reset | delete some files and directories
-
name
:
reset | delete some files and directories
file
:
file
:
path
:
"
{{
item
}}"
path
:
"
{{
item
}}"
...
...
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