You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
325 B

---
# This playbook installs ufw, allows the OpenSSH profile, then starts the
# service.
- name: install ufw
ansible.builtin.apt:
name: ufw
state: present
- name: enable OpenSSH ufw profile
community.general.ufw:
rule: allow
name: OpenSSH
- name: enable ufw
community.general.ufw:
state: enabled