Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Wágner Ferenc
listserv
Commits
51efe95f
Commit
51efe95f
authored
Jun 18, 2021
by
Wágner Ferenc
Browse files
Prepend an initial flush to the saved nftables ruleset
parent
6caba697
Changes
2
Hide whitespace changes
Inline
Side-by-side
ansible/roles/nftables/tasks/main.yml
View file @
51efe95f
...
...
@@ -51,8 +51,8 @@
-
name
:
Install new nftables ruleset
become
:
yes
copy
:
content
:
"
{{
nftables_ruleset_candidate.stdout
~
'
\n
'
}}"
# counter the automatic stripping
template
:
src
:
nftables.conf
dest
:
/etc/nftables.conf
owner
:
root
group
:
root
...
...
ansible/roles/nftables/templates/nftables.conf
0 → 100644
View file @
51efe95f
flush
ruleset
{{
nftables_ruleset_candidate
.
stdout
}}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment