mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-11-10 12:47:39 +01:00
Add nulls for quotas as well
This commit is contained in:
parent
9d236c5466
commit
e367a2d0de
@ -19,3 +19,5 @@ matrix_coturn_turn_udp_max_port: 49172
|
|||||||
matrix_coturn_turn_external_ip_address: "{{ ansible_host }}"
|
matrix_coturn_turn_external_ip_address: "{{ ansible_host }}"
|
||||||
matrix_coturn_allowed_peer_ips: []
|
matrix_coturn_allowed_peer_ips: []
|
||||||
matrix_coturn_denied_peer_ips: []
|
matrix_coturn_denied_peer_ips: []
|
||||||
|
matrix_coturn_user_quota: null
|
||||||
|
matrix_coturn_total_quota: null
|
||||||
|
@ -12,10 +12,10 @@ no-tls
|
|||||||
no-dtls
|
no-dtls
|
||||||
prod
|
prod
|
||||||
no-tcp-relay
|
no-tcp-relay
|
||||||
{% if matrix_coturn_user_quota is defined %}
|
{% if matrix_coturn_user_quota != None %}
|
||||||
user-quota={{ matrix_coturn_user_quota }}
|
user-quota={{ matrix_coturn_user_quota }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if matrix_coturn_total_quota is defined %}
|
{% if matrix_coturn_total_quota != None %}
|
||||||
total-quota={{ matrix_coturn_total_quota }}
|
total-quota={{ matrix_coturn_total_quota }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% for ip_range in matrix_coturn_denied_peer_ips %}
|
{% for ip_range in matrix_coturn_denied_peer_ips %}
|
||||||
|
Loading…
Reference in New Issue
Block a user