add ufw and mosh roles
This commit is contained in:
12
urubamba/roles/ufw/tasks/main.yml
Normal file
12
urubamba/roles/ufw/tasks/main.yml
Normal file
@@ -0,0 +1,12 @@
|
||||
---
|
||||
- name: Install ufw
|
||||
ansible.builtin.package:
|
||||
name: ufw
|
||||
state: present
|
||||
- name: Allow SSH connection in ufw
|
||||
community.general.ufw:
|
||||
rule: allow
|
||||
name: OpenSSH
|
||||
- name: Enable ufw
|
||||
community.general.ufw:
|
||||
state: enabled
|
||||
Reference in New Issue
Block a user