add ufw and mosh roles

This commit is contained in:
2023-08-30 15:27:58 +02:00
parent 39c2b425bd
commit b8d26d4938
4 changed files with 27 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
---
dependencies:
- role: ufw

View File

@@ -0,0 +1,10 @@
---
- name: Install mosh
ansible.builtin.package:
name: mosh
state: present
- name: Allow mosh in ufw
community.general.ufw:
rule: allow
port: 60000:61000
proto: udp