From 8cb494460eb836dc00ff9157085dda7d029da235 Mon Sep 17 00:00:00 2001 From: ducoterra Date: Sun, 30 Jan 2022 14:46:55 -0500 Subject: [PATCH] Add UFW rules Enable UFW and allow SSH access. --- playbooks/manjaro.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/playbooks/manjaro.yaml b/playbooks/manjaro.yaml index 25f0047..61d4b2c 100644 --- a/playbooks/manjaro.yaml +++ b/playbooks/manjaro.yaml @@ -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: