Add UFW rules

Enable UFW and allow SSH access.
This commit is contained in:
ducoterra
2022-01-30 14:46:55 -05:00
parent fc35dfad36
commit 8cb494460e

View File

@@ -40,6 +40,22 @@
enabled: yes
become: yes
# UFW
- name: Ensure UFW installed
community.general.pacman:
name: ufw
state: present
become: yes
- name: Enable UFW
community.general.ufw:
state: enabled
become: yes
- name: Allow SSH
community.general.ufw:
rule: allow
name: ssh
become: yes
# System Tools
- name: Ensure grub installed
community.general.pacman: