Default variable details

Some of debops.ferm default variables have more extensive configuration than simple strings or lists, here you can find documentation and examples for them.


This is a set of legacy debops.ferm variables, kept to allow older roles to be usable with new variables. You should use the ferm__*_rules variables instead in new configuration, the legacy variables will be removed at some point.

List of ferm INPUT rules that should be present or absent in the firewall rule set. The same format is also used for ferm_input_group_list, ferm_input_host_list and ferm_input_dependent_list. Each rule is defined as a YAML dict with the following keys:

Name of template file to use, required. Format: <type>.conf.j2
List of destination ports to manage, required.
Optional. Custom name used in the generated rule filename
Optional. Helps with file sorting in rule directory
Optional. Custom filename instead of a generated one
Optional. State of the rule. Defaults to present. Possible values: present or absent

Depending on the chosen type, many additional variables are supported. Please check the template files located in the templates/etc/ferm/ferm.d directory.