This commit is contained in:
Sam A. 2024-03-29 23:06:31 +01:00
parent ef891ced42
commit b1e3ab1308
Signed by: samsapti
GPG Key ID: CBBBE7371E81C4EA
2 changed files with 2 additions and 9 deletions

View File

@ -2,7 +2,7 @@
# code: language=ansible
---
- name: Setup firewall with UFW
community.general.ufw:
community.general.ufw:
state: enabled
policy: deny
@ -22,4 +22,4 @@
- port: 587 # Email
- port: 993 # Email
- port: 19022 # SSH
when: inventory_hostname in groups['virtual']
when: hostname in groups['virtual']

View File

@ -1,7 +0,0 @@
# vim: ft=yaml.ansible
# code: language=ansible
---
- name: update and upgrade system via apt
apt:
update_cache: yes
upgrade: full