add ufw and mosh roles
This commit is contained in:
3
urubamba/roles/mosh/meta/main.yml
Normal file
3
urubamba/roles/mosh/meta/main.yml
Normal file
@@ -0,0 +1,3 @@
|
||||
---
|
||||
dependencies:
|
||||
- role: ufw
|
||||
10
urubamba/roles/mosh/tasks/main.yml
Normal file
10
urubamba/roles/mosh/tasks/main.yml
Normal 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
|
||||
Reference in New Issue
Block a user