[c] bugfixing
This commit is contained in:
parent
b93aa964be
commit
8485672330
2 changed files with 2 additions and 2 deletions
|
@ -3,7 +3,7 @@ common_full_upgrade: false
|
|||
common_allow_restart: false # allow restarting after update
|
||||
|
||||
# Install and configure UFW Firewall on the system
|
||||
common_firewall_enable: true
|
||||
common_firewall_enabled: true
|
||||
common_firewall_reject: false # reject all connections by default
|
||||
|
||||
# Default Firewall Rules
|
||||
|
|
|
@ -41,7 +41,7 @@
|
|||
port: "{{ rule.port }}"
|
||||
rule: "{{ rule.rule | default('allow') }}"
|
||||
delete: "{{ true if rule.state == 'absent' else omit | default(omit) }}"
|
||||
direction: "{{ rule.direction | default(omit) }}"
|
||||
direction: "{{ rule.direction | default('in') }}"
|
||||
proto: "{{ rule.protocol | default('tcp') }}"
|
||||
interface: "{{ rule.interface if rule.interface != 'all' else omit | default(omit) }}"
|
||||
comment: "{{ rule.comment | default('Custom rule for port {{ rule.port }} on {{ rule.interface }}') }}"
|
||||
|
|
Loading…
Reference in a new issue