You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
948 B
YAML
30 lines
948 B
YAML
nftables:
|
|
# Rules to add
|
|
# Handled as templates
|
|
# Creates separate files for each entry.
|
|
# The identifier is necessary for ansible to be able to merge the keys (when 'hash_behaviour = merge')
|
|
# rule-ids have to be unique across files and raw
|
|
rules:
|
|
# Files with Rules to add
|
|
files:
|
|
#'<group_identifier>': '<relative-location>'
|
|
#'<group_identifier>':
|
|
# main: <relative-location>
|
|
# '<identifier>': '<relative-location>'
|
|
|
|
# Rules to add
|
|
raw:
|
|
#'<group_identifier>': '<content>'
|
|
#'<group_identifier>':
|
|
# main: <content>
|
|
# '<identifier>': '<content>'
|
|
|
|
# Decides if /etc/nftables.conf is applied or separate files which have changed
|
|
# Separate changes require the files to be self-tyding to not end up with duplicate rules
|
|
# e.g.
|
|
# table ip mytable
|
|
# flush table ip mytable
|
|
# delete table ip mytable
|
|
# table ip mytable {} ...
|
|
apply_global: false
|