ansible/roles/coller/tasks/manage-iptables.yml
Julien Riou 36f1f01120
All checks were successful
/ ansible-docsmith (push) Successful in 21s
Initial commit
Signed-off-by: Julien Riou <julien@riou.xyz>
2026-03-23 10:37:28 +01:00

16 lines
355 B
YAML

---
- 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