[c] bugfixing
This commit is contained in:
parent
8485672330
commit
6ee695461e
1 changed files with 4 additions and 4 deletions
|
@ -12,19 +12,19 @@
|
|||
ansible.builtin.apt:
|
||||
name: ufw
|
||||
state: present
|
||||
when: common_firewall_enable
|
||||
when: common_firewall_enabled
|
||||
|
||||
- name: Enable UFW
|
||||
community.general.ufw:
|
||||
state: enabled
|
||||
logging: "on"
|
||||
when: common_firewall_enable
|
||||
when: common_firewall_enabled
|
||||
|
||||
- name: Disable UFW Firewall
|
||||
ansible.builtin.apt:
|
||||
name: ufw
|
||||
state: absent
|
||||
when: not common_firewall_enable
|
||||
when: not common_firewall_enabled
|
||||
|
||||
- name: Reject incoming connections on WAN interface by default
|
||||
community.general.ufw:
|
||||
|
@ -33,7 +33,7 @@
|
|||
interface: "{{ common_firewall_wan_interface }}"
|
||||
when:
|
||||
- common_firewall_reject
|
||||
- common_firewall_enable
|
||||
- common_firewall_enabled
|
||||
- common_firewall_wan_interface
|
||||
|
||||
- name: Configure firewall rules
|
||||
|
|
Loading…
Reference in a new issue