host_firewall: forward_policy defaults to drop
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
|
||||
- name: Check the forward policy
|
||||
ansible.builtin.assert:
|
||||
that: firewall.forward_policy | default('accept', true) in ['accept', 'log', 'drop']
|
||||
that: firewall.forward_policy | default('drop', true) in ['accept', 'log', 'drop']
|
||||
fail_msg: "firewall.forward_policy is {{ firewall.forward_policy }}, expected accept, log or drop"
|
||||
|
||||
- name: Remove the include block of the old nftables role
|
||||
|
||||
Reference in New Issue
Block a user