[c] bugfixing

This commit is contained in:
Sangelo 2024-10-16 22:20:16 +02:00
parent 8485672330
commit 6ee695461e

View file

@ -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