mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-04-15 01:33:18 +02:00
9 lines
353 B
YAML
9 lines
353 B
YAML
---
|
|
|
|
- name: Handle jitsi videobridge ports
|
|
iptables_raw:
|
|
name: jitsi_videobridge_ports
|
|
state: "{{ (jitsi_videobridge_src_ip | length > 0) | ternary('present','absent') }}"
|
|
rules: "-A INPUT -m state --state NEW -p udp --dport {{ jitsi_videobridge_rtp_port }} -s {{ jitsi_videobridge_src_ip | join(',') }} -j ACCEPT"
|
|
tags: firewall,jitsi
|