Merge pull request 'refactor ♻️: Check for firewall file existence before debugging' (#51) from dev into main
Reviewed-on: #51
This commit was merged in pull request #51.
This commit is contained in:
@@ -182,7 +182,7 @@
|
|||||||
ansible.builtin.debug:
|
ansible.builtin.debug:
|
||||||
msg: >
|
msg: >
|
||||||
{{ fw_content }}
|
{{ fw_content }}
|
||||||
when: not pve_firewall_enabled
|
when: fw_stat.stat.exists | default(false)
|
||||||
|
|
||||||
- name: fail2ban | Determine if firewall enabled
|
- name: fail2ban | Determine if firewall enabled
|
||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
|
|||||||
Reference in New Issue
Block a user