diff --git a/firewall.yml b/firewall.yml index 7467464..4c06541 100644 --- a/firewall.yml +++ b/firewall.yml @@ -21,14 +21,14 @@ rule: deny port: '22' proto: tcp - when: hardening.exists + when: hardening.stat.exists - name: Allow all access to tcp port 33 (ssh) community.general.ufw: rule: allow port: '33' proto: tcp - when: hardening.exists + when: hardening.stat.exists - name: Allow all access to tcp port 22 (ssh) community.general.ufw: