Moving around more stuff
This commit is contained in:
15
deprecated/playbooks/tasks/ufw-setup.yml
Normal file
15
deprecated/playbooks/tasks/ufw-setup.yml
Normal file
@@ -0,0 +1,15 @@
|
||||
- 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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user