mirror of
https://github.com/morten-olsen/configs.git
synced 2026-02-08 00:46:24 +01:00
21 lines
338 B
YAML
21 lines
338 B
YAML
- name: Install firewall
|
|
tags:
|
|
- install
|
|
ansible.builtin.package:
|
|
name:
|
|
- ufw
|
|
|
|
- name: UFW - Allow SSH connections
|
|
tags:
|
|
- config
|
|
community.general.ufw:
|
|
rule: allow
|
|
name: OpenSSH
|
|
|
|
- name: UFW - Enable and deny by default
|
|
tags:
|
|
- config
|
|
community.general.ufw:
|
|
state: enabled
|
|
default: deny
|