
UFW role¶
Configures UFW rules.
Usage¶
Configure the role.
ufw_enabled: true # default false
host_ufw_rules_sets:
custom:
- rule: allow
port: "46022"
proto: tcp
ufw_active_rules: # default: - default
- bbb_install
- wireguard
- k3s
- custom
And include it in your playbook.
Docs¶
Disable or enable ufw manually¶
Enable ufw manually.
Disable ufw manually.