This commit is contained in:
ge
2024-09-15 14:12:48 +03:00
commit 9d7c62684f
34 changed files with 464 additions and 0 deletions

14
roles/ufw/tasks/main.yaml Normal file
View File

@ -0,0 +1,14 @@
- name: Install UFW
ansible.builtin.apt:
name: ufw
state: latest
update_cache: yes
- name: Allow SSH
community.general.ufw:
rule: allow
name: OpenSSH
- name: Enable Firewall
community.general.ufw:
state: enabled