Files
Workstation/ansible/arch_ufw/tasks/main.yml
ducoterra 838dad0302 Move single ansible playbook to ansible directory
Make ansible playbook properly- use ansible-galaxy init commands.
2022-01-31 13:44:46 -05:00

17 lines
278 B
YAML

---
# 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