roles/common: Add firewall task for Alpine
This commit is contained in:
parent
aa63f5946c
commit
4846cbd968
15
roles/common/tasks/firewall_Alpine.yml
Normal file
15
roles/common/tasks/firewall_Alpine.yml
Normal 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:
|
Loading…
Reference in New Issue
Block a user