roles/common: Add firewall task for Alpine

This commit is contained in:
Alan Orth 2021-02-11 23:37:56 +02:00
parent aa63f5946c
commit 4846cbd968
1 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1,15 @@
---
# TODO: configure awall (ipsets?)
# TODO: configure fail2ban
- block:
- name: Set Alpine firewall packages
set_fact:
alpine_firewall_packages:
- awall
- fail2ban
- name: Install Alpine firewall packages
apk: name={{ alpine_firewall_packages }} state=present
# vim: set sw=2 ts=2: