16 lines
245 B
YAML
16 lines
245 B
YAML
- name: SSH Limit in fireweall
|
|
community.general.ufw:
|
|
rule: limit
|
|
port: ssh
|
|
proto: tcp
|
|
- name: Allow web traffic as needed
|
|
community.general.ufw:
|
|
rule: allow
|
|
port: "{{ item }}"
|
|
proto: tcp
|
|
loop:
|
|
- 80
|
|
- 443
|
|
|
|
|