Browse Source

roles/coturn: use new port_forwarding var prefix

python3
Zolfa 3 years ago
parent
commit
0ae3508cc1
Signed by: zolfa GPG Key ID: E1A43B038C4D6616
1 changed files with 6 additions and 6 deletions
  1. +6
    -6
      roles/coturn/tasks/main.yaml

+ 6
- 6
roles/coturn/tasks/main.yaml View File

@ -43,16 +43,16 @@
- name: 'set-up port forwarding for listener'
import_role: name='port_forwarding'
vars:
rule_name: 'turn'
proto: 'tcp udp'
port: '{{ turn_port }}'
pf_rule_name: 'turn'
pf_proto: 'tcp udp'
pf_port: '{{ turn_port }}'
- name: 'set-up port forwarding for relay'
import_role: name='port_forwarding'
vars:
rule_name: 'turn_relay'
proto: 'udp'
port: '{{ min_relay_port }}-{{ max_relay_port }}'
pf_rule_name: 'turn_relay'
pf_proto: 'udp'
pf_port: '{{ min_relay_port }}-{{ max_relay_port }}'
- name: 'update coturn config'
template:


Loading…
Cancel
Save