Commit 51efe95f authored by Wágner Ferenc's avatar Wágner Ferenc
Browse files

Prepend an initial flush to the saved nftables ruleset

parent 6caba697
......@@ -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
......
flush ruleset
{{ nftables_ruleset_candidate.stdout }}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment