fix linter error

This commit is contained in:
Sergey Malyuk
2025-12-11 10:37:39 +03:00
parent 0b9ba8964f
commit 20f56a3d19
4 changed files with 11 additions and 11 deletions

View File

@@ -28,13 +28,13 @@
- name: "Allow SSH access"
notify: Reload-ufw
community.general.ufw:
rule: "{{ limit_ssh | ternary('limit', 'allow') }}"
port: "{{ openssh_port }}"
rule: "{{ ufw_limit_ssh | ternary('limit', 'allow') }}"
port: "{{ ufw_openssh_port }}"
proto: tcp
- name: "Set whitelist rules"
notify: Reload-ufw
loop: "{{ rules }}"
loop: "{{ ufw_rules }}"
community.general.ufw:
rule: "{{ item.rule | default('allow') }}"
comment: "{{ item.comment | default(omit) }}"