Move var to group_Vars/ to have it on all playbooks.

This commit is contained in:
Julien Palard 2023-03-28 15:02:05 +02:00
parent 98a90c947d
commit 114836d3bd
Signed by: mdk
GPG Key ID: 0EFC1AC1006886F8
2 changed files with 6 additions and 5 deletions

6
group_vars/turn/vars Normal file
View File

@ -0,0 +1,6 @@
---
nft_extra: |
tcp dport {3478, 5349} counter accept comment "coturn listening port"
udp dport {3478, 5349} counter accept comment "coturn listening port"
udp dport 32769-65535 counter accept comment "relay ports range"

View File

@ -14,11 +14,6 @@
tasks:
- name: Basic setup
include_role: name=common
vars:
nft_extra: |
tcp dport {3478, 5349} counter accept comment "coturn listening port"
udp dport {3478, 5349} counter accept comment "coturn listening port"
udp dport 32769-65535 counter accept comment "relay ports range"
- name: Install coturn and certbot
apt: