we use a default file for netfilter-persistent

This commit is contained in:
staticsafe 2020-04-14 22:29:49 -04:00
parent 14c62687a7
commit 358b88ea60
2 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1,4 @@
# Configuration for netfilter-persistent
# Plugins may extend this file or have their own
FLUSH_ON_STOP=1

View File

@ -11,6 +11,11 @@
- netfilter-persistent
- ipset
- name: Copy defaults file with our mods
copy:
src: netfilter-persistent
dest: /etc/default/netfilter-persistent
- name: Copy IPv4 ruleset
copy:
src: "{{ ansible_fqdn }}.rules.v4"