diff --git a/debian12-basic.yml b/debian12-basic.yml index 4cd7c33..ebe57ee 100644 --- a/debian12-basic.yml +++ b/debian12-basic.yml @@ -17,6 +17,7 @@ - htop - unp - ufw + - net-tools - name: Create swap file command: dd if=/dev/zero of={{ swapfile_path }} bs=1M count={{ swapfile_size }} @@ -61,6 +62,13 @@ ansible.builtin.apt: deb: https://kekscloud-releases.s3.eu-central-003.backblazeb2.com/http-server-status/stable.deb + - name: Allow all access to tcp port 22 + community.general.ufw: + rule: allow + port: '3003' + proto: tcp + + - name: Allow everything and enable UFW community.general.ufw: state: enabled