mirror of
https://github.com/AsgardEternal/Ubuntu-Ansible-Setup.git
synced 2024-09-28 11:44:23 -05:00
feat: add OpenSSH to ufw allow list
This commit is contained in:
parent
ee773ceea7
commit
a6a22d0d0a
7
roles/initial-setup/tasks/firewall.yml
Normal file
7
roles/initial-setup/tasks/firewall.yml
Normal file
@ -0,0 +1,7 @@
|
||||
- name: Permit OpenSSH Through The Firewall & Enable UFW
|
||||
become: true
|
||||
community.general.ufw:
|
||||
state: enabled
|
||||
rule: allow
|
||||
name: OpenSSH
|
||||
log: true
|
@ -3,3 +3,5 @@
|
||||
- ansible.builtin.import_tasks: users.yml
|
||||
- ansible.builtin.import_tasks: ssh.yml
|
||||
- ansible.builtin.import_tasks: dns.yml
|
||||
- ansible.builtin.import_tasks: firewall.yml
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user