feat: First release

Signed-off-by: Julien Riou <julien@riou.xyz>
This commit is contained in:
Julien Riou 2025-08-22 19:31:43 +02:00
parent 6eb187af24
commit cc2db9930b
Signed by: jriou
GPG key ID: 9A099EDA51316854
7 changed files with 125 additions and 1 deletions

16
tasks/manage-iptables.yml Normal file
View file

@ -0,0 +1,16 @@
---
- name: install packages
ansible.builtin.package:
name: netfilter-persistent
- name: allow with iptables
ansible.builtin.iptables:
chain: INPUT
protocol: tcp
source: "{{ item }}"
destination_ports:
- "{{ coller_port }}"
jump: ACCEPT
comment: coller
loop: "{{ coller_allowed_sources }}"
notify: save iptables